Class ListEventSourcesResponse.Builder

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

public static final class ListEventSourcesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListEventSourcesResponse.Builder> implements ListEventSourcesResponseOrBuilder
Protobuf type yamcs.protobuf.events.ListEventSourcesResponse
  • 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<ListEventSourcesResponse.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<ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
    • getDefaultInstanceForType

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

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

      public ListEventSourcesResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ListEventSourcesResponse.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListEventSourcesResponse.Builder>
    • mergeFrom

      public ListEventSourcesResponse.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<ListEventSourcesResponse.Builder>
      Throws:
      IOException
    • getSourceList

      @Deprecated public com.google.protobuf.ProtocolStringList getSourceList()
      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Specified by:
      getSourceList in interface ListEventSourcesResponseOrBuilder
      Returns:
      A list containing the source.
    • getSourceCount

      @Deprecated public int getSourceCount()
      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Specified by:
      getSourceCount in interface ListEventSourcesResponseOrBuilder
      Returns:
      The count of source.
    • getSource

      @Deprecated public String getSource(int index)
      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Specified by:
      getSource in interface ListEventSourcesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The source at the given index.
    • getSourceBytes

      @Deprecated public com.google.protobuf.ByteString getSourceBytes(int index)
      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Specified by:
      getSourceBytes in interface ListEventSourcesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the source at the given index.
    • setSource

      @Deprecated public ListEventSourcesResponse.Builder setSource(int index, String value)
      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Parameters:
      index - The index to set the value at.
      value - The source to set.
      Returns:
      This builder for chaining.
    • addSource

      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Parameters:
      value - The source to add.
      Returns:
      This builder for chaining.
    • addAllSource

      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Parameters:
      values - The source to add.
      Returns:
      This builder for chaining.
    • clearSource

      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Returns:
      This builder for chaining.
    • addSourceBytes

      @Deprecated public ListEventSourcesResponse.Builder addSourceBytes(com.google.protobuf.ByteString value)
      Deprecated.
       Deprecated, use ``sources`` instead
       
      repeated string source = 1 [deprecated = true];
      Parameters:
      value - The bytes of the source to add.
      Returns:
      This builder for chaining.
    • getSourcesList

      public com.google.protobuf.ProtocolStringList getSourcesList()
       Known event sources
       
      repeated string sources = 2;
      Specified by:
      getSourcesList in interface ListEventSourcesResponseOrBuilder
      Returns:
      A list containing the sources.
    • getSourcesCount

      public int getSourcesCount()
       Known event sources
       
      repeated string sources = 2;
      Specified by:
      getSourcesCount in interface ListEventSourcesResponseOrBuilder
      Returns:
      The count of sources.
    • getSources

      public String getSources(int index)
       Known event sources
       
      repeated string sources = 2;
      Specified by:
      getSources in interface ListEventSourcesResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sources at the given index.
    • getSourcesBytes

      public com.google.protobuf.ByteString getSourcesBytes(int index)
       Known event sources
       
      repeated string sources = 2;
      Specified by:
      getSourcesBytes in interface ListEventSourcesResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sources at the given index.
    • setSources

      public ListEventSourcesResponse.Builder setSources(int index, String value)
       Known event sources
       
      repeated string sources = 2;
      Parameters:
      index - The index to set the value at.
      value - The sources to set.
      Returns:
      This builder for chaining.
    • addSources

      public ListEventSourcesResponse.Builder addSources(String value)
       Known event sources
       
      repeated string sources = 2;
      Parameters:
      value - The sources to add.
      Returns:
      This builder for chaining.
    • addAllSources

      public ListEventSourcesResponse.Builder addAllSources(Iterable<String> values)
       Known event sources
       
      repeated string sources = 2;
      Parameters:
      values - The sources to add.
      Returns:
      This builder for chaining.
    • clearSources

      public ListEventSourcesResponse.Builder clearSources()
       Known event sources
       
      repeated string sources = 2;
      Returns:
      This builder for chaining.
    • addSourcesBytes

      public ListEventSourcesResponse.Builder addSourcesBytes(com.google.protobuf.ByteString value)
       Known event sources
       
      repeated string sources = 2;
      Parameters:
      value - The bytes of the sources to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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