Class ListAlarmsResponse.Builder

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

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

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

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

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

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

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

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

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

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

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

      public ListAlarmsResponse.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<ListAlarmsResponse.Builder>
      Throws:
      IOException
    • getAlarmsList

      public List<AlarmData> getAlarmsList()
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
      Specified by:
      getAlarmsList in interface ListAlarmsResponseOrBuilder
    • getAlarmsCount

      public int getAlarmsCount()
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
      Specified by:
      getAlarmsCount in interface ListAlarmsResponseOrBuilder
    • getAlarms

      public AlarmData getAlarms(int index)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
      Specified by:
      getAlarms in interface ListAlarmsResponseOrBuilder
    • setAlarms

      public ListAlarmsResponse.Builder setAlarms(int index, AlarmData value)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • setAlarms

      public ListAlarmsResponse.Builder setAlarms(int index, AlarmData.Builder builderForValue)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • addAlarms

      public ListAlarmsResponse.Builder addAlarms(AlarmData value)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • addAlarms

      public ListAlarmsResponse.Builder addAlarms(int index, AlarmData value)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • addAlarms

      public ListAlarmsResponse.Builder addAlarms(AlarmData.Builder builderForValue)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • addAlarms

      public ListAlarmsResponse.Builder addAlarms(int index, AlarmData.Builder builderForValue)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • addAllAlarms

      public ListAlarmsResponse.Builder addAllAlarms(Iterable<? extends AlarmData> values)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • clearAlarms

      public ListAlarmsResponse.Builder clearAlarms()
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • removeAlarms

      public ListAlarmsResponse.Builder removeAlarms(int index)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • getAlarmsBuilder

      public AlarmData.Builder getAlarmsBuilder(int index)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • getAlarmsOrBuilder

      public AlarmDataOrBuilder getAlarmsOrBuilder(int index)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
      Specified by:
      getAlarmsOrBuilder in interface ListAlarmsResponseOrBuilder
    • getAlarmsOrBuilderList

      public List<? extends AlarmDataOrBuilder> getAlarmsOrBuilderList()
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
      Specified by:
      getAlarmsOrBuilderList in interface ListAlarmsResponseOrBuilder
    • addAlarmsBuilder

      public AlarmData.Builder addAlarmsBuilder()
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • addAlarmsBuilder

      public AlarmData.Builder addAlarmsBuilder(int index)
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • getAlarmsBuilderList

      public List<AlarmData.Builder> getAlarmsBuilderList()
      repeated .yamcs.protobuf.alarms.AlarmData alarms = 1;
    • hasContinuationToken

      public boolean hasContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      hasContinuationToken in interface ListAlarmsResponseOrBuilder
      Returns:
      Whether the continuationToken field is set.
    • getContinuationToken

      public String getContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationToken in interface ListAlarmsResponseOrBuilder
      Returns:
      The continuationToken.
    • getContinuationTokenBytes

      public com.google.protobuf.ByteString getContinuationTokenBytes()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Specified by:
      getContinuationTokenBytes in interface ListAlarmsResponseOrBuilder
      Returns:
      The bytes for continuationToken.
    • setContinuationToken

      public ListAlarmsResponse.Builder setContinuationToken(String value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The continuationToken to set.
      Returns:
      This builder for chaining.
    • clearContinuationToken

      public ListAlarmsResponse.Builder clearContinuationToken()
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Returns:
      This builder for chaining.
    • setContinuationTokenBytes

      public ListAlarmsResponse.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
       Token indicating the response is only partial. More results can then
       be obtained by performing the same request (including all original
       query parameters) and setting the ``next`` parameter to this token.
       
      optional string continuationToken = 2;
      Parameters:
      value - The bytes for continuationToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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