Package org.yamcs.protobuf
Class Table.ColumnInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
org.yamcs.protobuf.Table.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.ColumnInfoOrBuilder
- Enclosing class:
- Table.ColumnInfo
public static final class Table.ColumnInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
implements Table.ColumnInfoOrBuilder
Protobuf type
yamcs.protobuf.table.ColumnInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddAllEnumValue
(Iterable<? extends Table.EnumValue> values) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
addEnumValue
(int index, Table.EnumValue value) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
addEnumValue
(int index, Table.EnumValue.Builder builderForValue) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
addEnumValue
(Table.EnumValue value) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
addEnumValue
(Table.EnumValue.Builder builderForValue) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
addEnumValueBuilder
(int index) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Attribute indicating automatic auto increment upon record insertion.repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Colum nameclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Column typeclone()
boolean
Attribute indicating automatic auto increment upon record insertion.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getEnumValue
(int index) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
getEnumValueBuilder
(int index) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
int
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
getEnumValueOrBuilder
(int index) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
List<? extends Table.EnumValueOrBuilder>
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
getName()
Colum namecom.google.protobuf.ByteString
Colum namegetType()
Column typecom.google.protobuf.ByteString
Column typeboolean
Attribute indicating automatic auto increment upon record insertion.boolean
hasName()
Colum nameboolean
hasType()
Column typeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Table.ColumnInfo other) final Table.ColumnInfo.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeEnumValue
(int index) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
setAutoIncrement
(boolean value) Attribute indicating automatic auto increment upon record insertion.setEnumValue
(int index, Table.EnumValue value) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
setEnumValue
(int index, Table.EnumValue.Builder builderForValue) repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
Colum namesetNameBytes
(com.google.protobuf.ByteString value) Colum namesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Column typesetTypeBytes
(com.google.protobuf.ByteString value) Column typefinal Table.ColumnInfo.Builder
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
setField
public Table.ColumnInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
setRepeatedField
public Table.ColumnInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
addRepeatedField
public Table.ColumnInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Table.ColumnInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
mergeFrom
public Table.ColumnInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Table.ColumnInfo.Builder>
- Throws:
IOException
-
hasName
public boolean hasName()Colum name
optional string name = 1;
- Specified by:
hasName
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Colum name
optional string name = 1;
- Specified by:
getName
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Colum name
optional string name = 1;
- Specified by:
getNameBytes
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- The bytes for name.
-
setName
Colum name
optional string name = 1;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
Colum name
optional string name = 1;
- Returns:
- This builder for chaining.
-
setNameBytes
Colum name
optional string name = 1;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()Column type
optional string type = 2;
- Specified by:
hasType
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- Whether the type field is set.
-
getType
Column type
optional string type = 2;
- Specified by:
getType
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Column type
optional string type = 2;
- Specified by:
getTypeBytes
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- The bytes for type.
-
setType
Column type
optional string type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
Column type
optional string type = 2;
- Returns:
- This builder for chaining.
-
setTypeBytes
Column type
optional string type = 2;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getEnumValueList
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
- Specified by:
getEnumValueList
in interfaceTable.ColumnInfoOrBuilder
-
getEnumValueCount
public int getEnumValueCount()repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
- Specified by:
getEnumValueCount
in interfaceTable.ColumnInfoOrBuilder
-
getEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
- Specified by:
getEnumValue
in interfaceTable.ColumnInfoOrBuilder
-
setEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
setEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
addEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
addEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
addEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
addEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
addAllEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
clearEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
removeEnumValue
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
getEnumValueBuilder
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
getEnumValueOrBuilder
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
- Specified by:
getEnumValueOrBuilder
in interfaceTable.ColumnInfoOrBuilder
-
getEnumValueOrBuilderList
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
- Specified by:
getEnumValueOrBuilderList
in interfaceTable.ColumnInfoOrBuilder
-
addEnumValueBuilder
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
addEnumValueBuilder
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
getEnumValueBuilderList
repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
-
hasAutoIncrement
public boolean hasAutoIncrement()Attribute indicating automatic auto increment upon record insertion. Only set for table column info.
optional bool autoIncrement = 4;
- Specified by:
hasAutoIncrement
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- Whether the autoIncrement field is set.
-
getAutoIncrement
public boolean getAutoIncrement()Attribute indicating automatic auto increment upon record insertion. Only set for table column info.
optional bool autoIncrement = 4;
- Specified by:
getAutoIncrement
in interfaceTable.ColumnInfoOrBuilder
- Returns:
- The autoIncrement.
-
setAutoIncrement
Attribute indicating automatic auto increment upon record insertion. Only set for table column info.
optional bool autoIncrement = 4;
- Parameters:
value
- The autoIncrement to set.- Returns:
- This builder for chaining.
-
clearAutoIncrement
Attribute indicating automatic auto increment upon record insertion. Only set for table column info.
optional bool autoIncrement = 4;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Table.ColumnInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-
mergeUnknownFields
public final Table.ColumnInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
-