java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Table.Row.ColumnInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<Table.Row.ColumnInfo.Builder>
org.yamcs.protobuf.Table.Row.ColumnInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Table.Row.ColumnInfoOrBuilder
- Enclosing class:
Table.Row.ColumnInfo
public static final class Table.Row.ColumnInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Table.Row.ColumnInfo.Builder>
implements Table.Row.ColumnInfoOrBuilder
Protobuf type
yamcs.protobuf.table.Row.ColumnInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearId()optional uint32 id = 1;optional string name = 2;The name of the class implementing the proto object if dataType is PROTOBUFoptional string type = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintgetId()optional uint32 id = 1;getName()optional string name = 2;com.google.protobuf.ByteStringoptional string name = 2;The name of the class implementing the proto object if dataType is PROTOBUFcom.google.protobuf.ByteStringThe name of the class implementing the proto object if dataType is PROTOBUFgetType()optional string type = 3;com.google.protobuf.ByteStringoptional string type = 3;booleanhasId()optional uint32 id = 1;booleanhasName()optional string name = 2;booleanThe name of the class implementing the proto object if dataType is PROTOBUFbooleanhasType()optional string type = 3;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Table.Row.ColumnInfo other) setId(int value) optional uint32 id = 1;optional string name = 2;setNameBytes(com.google.protobuf.ByteString value) optional string name = 2;setProtoClass(String value) The name of the class implementing the proto object if dataType is PROTOBUFsetProtoClassBytes(com.google.protobuf.ByteString value) The name of the class implementing the proto object if dataType is PROTOBUFoptional string type = 3;setTypeBytes(com.google.protobuf.ByteString value) optional string type = 3;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Table.Row.ColumnInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Table.Row.ColumnInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Table.Row.ColumnInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Table.Row.ColumnInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Table.Row.ColumnInfo.Builder>
-
mergeFrom
public Table.Row.ColumnInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Table.Row.ColumnInfo.Builder>- Throws:
IOException
-
hasId
public boolean hasId()optional uint32 id = 1;- Specified by:
hasIdin interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- Whether the id field is set.
-
getId
public int getId()optional uint32 id = 1;- Specified by:
getIdin interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- The id.
-
setId
optional uint32 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
optional uint32 id = 1;- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()optional string name = 2;- Specified by:
hasNamein interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;- Specified by:
getNamein interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;- Specified by:
getNameBytesin interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- The bytes for name.
-
setName
optional string name = 2;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 2;- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 2;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional string type = 3;- Specified by:
hasTypein interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 3;- Specified by:
getTypein interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 3;- Specified by:
getTypeBytesin interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- The bytes for type.
-
setType
optional string type = 3;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional string type = 3;- Returns:
- This builder for chaining.
-
setTypeBytes
optional string type = 3;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasProtoClass
public boolean hasProtoClass()The name of the class implementing the proto object if dataType is PROTOBUF
optional string protoClass = 4;- Specified by:
hasProtoClassin interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- Whether the protoClass field is set.
-
getProtoClass
The name of the class implementing the proto object if dataType is PROTOBUF
optional string protoClass = 4;- Specified by:
getProtoClassin interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- The protoClass.
-
getProtoClassBytes
public com.google.protobuf.ByteString getProtoClassBytes()The name of the class implementing the proto object if dataType is PROTOBUF
optional string protoClass = 4;- Specified by:
getProtoClassBytesin interfaceTable.Row.ColumnInfoOrBuilder- Returns:
- The bytes for protoClass.
-
setProtoClass
The name of the class implementing the proto object if dataType is PROTOBUF
optional string protoClass = 4;- Parameters:
value- The protoClass to set.- Returns:
- This builder for chaining.
-
clearProtoClass
The name of the class implementing the proto object if dataType is PROTOBUF
optional string protoClass = 4;- Returns:
- This builder for chaining.
-
setProtoClassBytes
The name of the class implementing the proto object if dataType is PROTOBUF
optional string protoClass = 4;- Parameters:
value- The bytes for protoClass to set.- Returns:
- This builder for chaining.
-