Class Table.StreamInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder>
org.yamcs.protobuf.Table.StreamInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Table.StreamInfoOrBuilder
Enclosing class:
Table.StreamInfo

public static final class Table.StreamInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Table.StreamInfo.Builder> implements Table.StreamInfoOrBuilder
Protobuf type yamcs.protobuf.table.StreamInfo
  • 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.StreamInfo.Builder>
    • clear

      public Table.StreamInfo.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.StreamInfo.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.StreamInfo.Builder>
    • getDefaultInstanceForType

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

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

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

      public Table.StreamInfo.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.StreamInfo.Builder>
    • setField

      public Table.StreamInfo.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.StreamInfo.Builder>
    • clearField

      public Table.StreamInfo.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.StreamInfo.Builder>
    • clearOneof

      public Table.StreamInfo.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.StreamInfo.Builder>
    • setRepeatedField

      public Table.StreamInfo.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.StreamInfo.Builder>
    • addRepeatedField

      public Table.StreamInfo.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.StreamInfo.Builder>
    • mergeFrom

      public Table.StreamInfo.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.StreamInfo.Builder>
    • mergeFrom

      public Table.StreamInfo.Builder mergeFrom(Table.StreamInfo 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.StreamInfo.Builder>
    • mergeFrom

      public Table.StreamInfo.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.StreamInfo.Builder>
      Throws:
      IOException
    • hasName

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

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

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

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

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

      public Table.StreamInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Stream name
       
      optional string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getColumnList

      @Deprecated public List<Table.ColumnInfo> getColumnList()
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
      Specified by:
      getColumnList in interface Table.StreamInfoOrBuilder
    • getColumnCount

      @Deprecated public int getColumnCount()
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
      Specified by:
      getColumnCount in interface Table.StreamInfoOrBuilder
    • getColumn

      @Deprecated public Table.ColumnInfo getColumn(int index)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
      Specified by:
      getColumn in interface Table.StreamInfoOrBuilder
    • setColumn

      @Deprecated public Table.StreamInfo.Builder setColumn(int index, Table.ColumnInfo value)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • setColumn

      @Deprecated public Table.StreamInfo.Builder setColumn(int index, Table.ColumnInfo.Builder builderForValue)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • addColumn

      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • addColumn

      @Deprecated public Table.StreamInfo.Builder addColumn(int index, Table.ColumnInfo value)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • addColumn

      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • addColumn

      @Deprecated public Table.StreamInfo.Builder addColumn(int index, Table.ColumnInfo.Builder builderForValue)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • addAllColumn

      @Deprecated public Table.StreamInfo.Builder addAllColumn(Iterable<? extends Table.ColumnInfo> values)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • clearColumn

      @Deprecated public Table.StreamInfo.Builder clearColumn()
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • removeColumn

      @Deprecated public Table.StreamInfo.Builder removeColumn(int index)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • getColumnBuilder

      @Deprecated public Table.ColumnInfo.Builder getColumnBuilder(int index)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • getColumnOrBuilder

      @Deprecated public Table.ColumnInfoOrBuilder getColumnOrBuilder(int index)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
      Specified by:
      getColumnOrBuilder in interface Table.StreamInfoOrBuilder
    • getColumnOrBuilderList

      @Deprecated public List<? extends Table.ColumnInfoOrBuilder> getColumnOrBuilderList()
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
      Specified by:
      getColumnOrBuilderList in interface Table.StreamInfoOrBuilder
    • addColumnBuilder

      @Deprecated public Table.ColumnInfo.Builder addColumnBuilder()
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • addColumnBuilder

      @Deprecated public Table.ColumnInfo.Builder addColumnBuilder(int index)
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • getColumnBuilderList

      @Deprecated public List<Table.ColumnInfo.Builder> getColumnBuilderList()
      Deprecated.
      repeated .yamcs.protobuf.table.ColumnInfo column = 2 [deprecated = true];
    • getColumnsList

      public List<Table.ColumnInfo> getColumnsList()
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
      Specified by:
      getColumnsList in interface Table.StreamInfoOrBuilder
    • getColumnsCount

      public int getColumnsCount()
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
      Specified by:
      getColumnsCount in interface Table.StreamInfoOrBuilder
    • getColumns

      public Table.ColumnInfo getColumns(int index)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
      Specified by:
      getColumns in interface Table.StreamInfoOrBuilder
    • setColumns

      public Table.StreamInfo.Builder setColumns(int index, Table.ColumnInfo value)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • setColumns

      public Table.StreamInfo.Builder setColumns(int index, Table.ColumnInfo.Builder builderForValue)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • addColumns

      public Table.StreamInfo.Builder addColumns(Table.ColumnInfo value)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • addColumns

      public Table.StreamInfo.Builder addColumns(int index, Table.ColumnInfo value)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • addColumns

      public Table.StreamInfo.Builder addColumns(Table.ColumnInfo.Builder builderForValue)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • addColumns

      public Table.StreamInfo.Builder addColumns(int index, Table.ColumnInfo.Builder builderForValue)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • addAllColumns

      public Table.StreamInfo.Builder addAllColumns(Iterable<? extends Table.ColumnInfo> values)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • clearColumns

      public Table.StreamInfo.Builder clearColumns()
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • removeColumns

      public Table.StreamInfo.Builder removeColumns(int index)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • getColumnsBuilder

      public Table.ColumnInfo.Builder getColumnsBuilder(int index)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • getColumnsOrBuilder

      public Table.ColumnInfoOrBuilder getColumnsOrBuilder(int index)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
      Specified by:
      getColumnsOrBuilder in interface Table.StreamInfoOrBuilder
    • getColumnsOrBuilderList

      public List<? extends Table.ColumnInfoOrBuilder> getColumnsOrBuilderList()
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
      Specified by:
      getColumnsOrBuilderList in interface Table.StreamInfoOrBuilder
    • addColumnsBuilder

      public Table.ColumnInfo.Builder addColumnsBuilder()
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • addColumnsBuilder

      public Table.ColumnInfo.Builder addColumnsBuilder(int index)
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • getColumnsBuilderList

      public List<Table.ColumnInfo.Builder> getColumnsBuilderList()
      repeated .yamcs.protobuf.table.ColumnInfo columns = 5;
    • hasScript

      public boolean hasScript()
      optional string script = 3;
      Specified by:
      hasScript in interface Table.StreamInfoOrBuilder
      Returns:
      Whether the script field is set.
    • getScript

      public String getScript()
      optional string script = 3;
      Specified by:
      getScript in interface Table.StreamInfoOrBuilder
      Returns:
      The script.
    • getScriptBytes

      public com.google.protobuf.ByteString getScriptBytes()
      optional string script = 3;
      Specified by:
      getScriptBytes in interface Table.StreamInfoOrBuilder
      Returns:
      The bytes for script.
    • setScript

      public Table.StreamInfo.Builder setScript(String value)
      optional string script = 3;
      Parameters:
      value - The script to set.
      Returns:
      This builder for chaining.
    • clearScript

      public Table.StreamInfo.Builder clearScript()
      optional string script = 3;
      Returns:
      This builder for chaining.
    • setScriptBytes

      public Table.StreamInfo.Builder setScriptBytes(com.google.protobuf.ByteString value)
      optional string script = 3;
      Parameters:
      value - The bytes for script to set.
      Returns:
      This builder for chaining.
    • hasDataCount

      public boolean hasDataCount()
      optional int64 dataCount = 4;
      Specified by:
      hasDataCount in interface Table.StreamInfoOrBuilder
      Returns:
      Whether the dataCount field is set.
    • getDataCount

      public long getDataCount()
      optional int64 dataCount = 4;
      Specified by:
      getDataCount in interface Table.StreamInfoOrBuilder
      Returns:
      The dataCount.
    • setDataCount

      public Table.StreamInfo.Builder setDataCount(long value)
      optional int64 dataCount = 4;
      Parameters:
      value - The dataCount to set.
      Returns:
      This builder for chaining.
    • clearDataCount

      public Table.StreamInfo.Builder clearDataCount()
      optional int64 dataCount = 4;
      Returns:
      This builder for chaining.
    • getSubscribersList

      public com.google.protobuf.ProtocolStringList getSubscribersList()
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Specified by:
      getSubscribersList in interface Table.StreamInfoOrBuilder
      Returns:
      A list containing the subscribers.
    • getSubscribersCount

      public int getSubscribersCount()
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Specified by:
      getSubscribersCount in interface Table.StreamInfoOrBuilder
      Returns:
      The count of subscribers.
    • getSubscribers

      public String getSubscribers(int index)
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Specified by:
      getSubscribers in interface Table.StreamInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The subscribers at the given index.
    • getSubscribersBytes

      public com.google.protobuf.ByteString getSubscribersBytes(int index)
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Specified by:
      getSubscribersBytes in interface Table.StreamInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the subscribers at the given index.
    • setSubscribers

      public Table.StreamInfo.Builder setSubscribers(int index, String value)
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Parameters:
      index - The index to set the value at.
      value - The subscribers to set.
      Returns:
      This builder for chaining.
    • addSubscribers

      public Table.StreamInfo.Builder addSubscribers(String value)
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Parameters:
      value - The subscribers to add.
      Returns:
      This builder for chaining.
    • addAllSubscribers

      public Table.StreamInfo.Builder addAllSubscribers(Iterable<String> values)
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Parameters:
      values - The subscribers to add.
      Returns:
      This builder for chaining.
    • clearSubscribers

      public Table.StreamInfo.Builder clearSubscribers()
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Returns:
      This builder for chaining.
    • addSubscribersBytes

      public Table.StreamInfo.Builder addSubscribersBytes(com.google.protobuf.ByteString value)
       Subscribers represented in the format ``className@hashCode``.
       
      repeated string subscribers = 6;
      Parameters:
      value - The bytes of the subscribers to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Table.StreamInfo.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.StreamInfo.Builder>
    • mergeUnknownFields

      public final Table.StreamInfo.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.StreamInfo.Builder>