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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
    • clear

      public Table.ColumnInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
    • getDefaultInstanceForType

      public Table.ColumnInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Table.ColumnInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Table.ColumnInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Table.ColumnInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
    • clearField

      public Table.ColumnInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
    • clearOneof

      public Table.ColumnInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
    • mergeFrom

      public Table.ColumnInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.ColumnInfo.Builder>
    • mergeFrom

      public Table.ColumnInfo.Builder mergeFrom(Table.ColumnInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.ColumnInfo.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Colum name
       
      optional string name = 1;
      Specified by:
      hasName in interface Table.ColumnInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Colum name
       
      optional string name = 1;
      Specified by:
      getName in interface Table.ColumnInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Colum name
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface Table.ColumnInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Table.ColumnInfo.Builder setName(String value)
       Colum name
       
      optional string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Table.ColumnInfo.Builder clearName()
       Colum name
       
      optional string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Table.ColumnInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       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 interface Table.ColumnInfoOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public String getType()
       Column type
       
      optional string type = 2;
      Specified by:
      getType in interface Table.ColumnInfoOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Column type
       
      optional string type = 2;
      Specified by:
      getTypeBytes in interface Table.ColumnInfoOrBuilder
      Returns:
      The bytes for type.
    • setType

      public Table.ColumnInfo.Builder setType(String value)
       Column type
       
      optional string type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Table.ColumnInfo.Builder clearType()
       Column type
       
      optional string type = 2;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public Table.ColumnInfo.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Column type
       
      optional string type = 2;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getEnumValueList

      public List<Table.EnumValue> getEnumValueList()
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
      Specified by:
      getEnumValueList in interface Table.ColumnInfoOrBuilder
    • getEnumValueCount

      public int getEnumValueCount()
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
      Specified by:
      getEnumValueCount in interface Table.ColumnInfoOrBuilder
    • getEnumValue

      public Table.EnumValue getEnumValue(int index)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
      Specified by:
      getEnumValue in interface Table.ColumnInfoOrBuilder
    • setEnumValue

      public Table.ColumnInfo.Builder setEnumValue(int index, Table.EnumValue value)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • setEnumValue

      public Table.ColumnInfo.Builder setEnumValue(int index, Table.EnumValue.Builder builderForValue)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • addEnumValue

      public Table.ColumnInfo.Builder addEnumValue(Table.EnumValue value)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • addEnumValue

      public Table.ColumnInfo.Builder addEnumValue(int index, Table.EnumValue value)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • addEnumValue

      public Table.ColumnInfo.Builder addEnumValue(Table.EnumValue.Builder builderForValue)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • addEnumValue

      public Table.ColumnInfo.Builder addEnumValue(int index, Table.EnumValue.Builder builderForValue)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • addAllEnumValue

      public Table.ColumnInfo.Builder addAllEnumValue(Iterable<? extends Table.EnumValue> values)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • clearEnumValue

      public Table.ColumnInfo.Builder clearEnumValue()
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • removeEnumValue

      public Table.ColumnInfo.Builder removeEnumValue(int index)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • getEnumValueBuilder

      public Table.EnumValue.Builder getEnumValueBuilder(int index)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • getEnumValueOrBuilder

      public Table.EnumValueOrBuilder getEnumValueOrBuilder(int index)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
      Specified by:
      getEnumValueOrBuilder in interface Table.ColumnInfoOrBuilder
    • getEnumValueOrBuilderList

      public List<? extends Table.EnumValueOrBuilder> getEnumValueOrBuilderList()
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
      Specified by:
      getEnumValueOrBuilderList in interface Table.ColumnInfoOrBuilder
    • addEnumValueBuilder

      public Table.EnumValue.Builder addEnumValueBuilder()
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • addEnumValueBuilder

      public Table.EnumValue.Builder addEnumValueBuilder(int index)
      repeated .yamcs.protobuf.table.EnumValue enumValue = 3;
    • getEnumValueBuilderList

      public List<Table.EnumValue.Builder> 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 interface Table.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 interface Table.ColumnInfoOrBuilder
      Returns:
      The autoIncrement.
    • setAutoIncrement

      public Table.ColumnInfo.Builder setAutoIncrement(boolean value)
       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

      public Table.ColumnInfo.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>
    • mergeUnknownFields

      public final Table.ColumnInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Table.ColumnInfo.Builder>