Class StreamInfo.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasId()
      stream id 
       
      optional uint32 id = 1;
      Specified by:
      hasId in interface StreamInfoOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public int getId()
      stream id 
       
      optional uint32 id = 1;
      Specified by:
      getId in interface StreamInfoOrBuilder
      Returns:
      The id.
    • setId

      public StreamInfo.Builder setId(int value)
      stream id 
       
      optional uint32 id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public StreamInfo.Builder clearId()
      stream id 
       
      optional uint32 id = 1;
      Returns:
      This builder for chaining.
    • hasName

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

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

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

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

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

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

      public List<ColumnInfo> getColumnsList()
      repeated .ColumnInfo columns = 3;
      Specified by:
      getColumnsList in interface StreamInfoOrBuilder
    • getColumnsCount

      public int getColumnsCount()
      repeated .ColumnInfo columns = 3;
      Specified by:
      getColumnsCount in interface StreamInfoOrBuilder
    • getColumns

      public ColumnInfo getColumns(int index)
      repeated .ColumnInfo columns = 3;
      Specified by:
      getColumns in interface StreamInfoOrBuilder
    • setColumns

      public StreamInfo.Builder setColumns(int index, ColumnInfo value)
      repeated .ColumnInfo columns = 3;
    • setColumns

      public StreamInfo.Builder setColumns(int index, ColumnInfo.Builder builderForValue)
      repeated .ColumnInfo columns = 3;
    • addColumns

      public StreamInfo.Builder addColumns(ColumnInfo value)
      repeated .ColumnInfo columns = 3;
    • addColumns

      public StreamInfo.Builder addColumns(int index, ColumnInfo value)
      repeated .ColumnInfo columns = 3;
    • addColumns

      public StreamInfo.Builder addColumns(ColumnInfo.Builder builderForValue)
      repeated .ColumnInfo columns = 3;
    • addColumns

      public StreamInfo.Builder addColumns(int index, ColumnInfo.Builder builderForValue)
      repeated .ColumnInfo columns = 3;
    • addAllColumns

      public StreamInfo.Builder addAllColumns(Iterable<? extends ColumnInfo> values)
      repeated .ColumnInfo columns = 3;
    • clearColumns

      public StreamInfo.Builder clearColumns()
      repeated .ColumnInfo columns = 3;
    • removeColumns

      public StreamInfo.Builder removeColumns(int index)
      repeated .ColumnInfo columns = 3;
    • getColumnsBuilder

      public ColumnInfo.Builder getColumnsBuilder(int index)
      repeated .ColumnInfo columns = 3;
    • getColumnsOrBuilder

      public ColumnInfoOrBuilder getColumnsOrBuilder(int index)
      repeated .ColumnInfo columns = 3;
      Specified by:
      getColumnsOrBuilder in interface StreamInfoOrBuilder
    • getColumnsOrBuilderList

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

      public ColumnInfo.Builder addColumnsBuilder()
      repeated .ColumnInfo columns = 3;
    • addColumnsBuilder

      public ColumnInfo.Builder addColumnsBuilder(int index)
      repeated .ColumnInfo columns = 3;
    • getColumnsBuilderList

      public List<ColumnInfo.Builder> getColumnsBuilderList()
      repeated .ColumnInfo columns = 3;
    • setUnknownFields

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

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