Class State.Builder

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

public static final class State.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<State.Builder> implements StateOrBuilder
 Message to be provided in the data field of a ServerMessage if type is "state".
 
Protobuf type yamcs.api.State
  • 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<State.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public State.Builder mergeFrom(State other)
    • isInitialized

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

      public State.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<State.Builder>
      Throws:
      IOException
    • getCallsList

      public List<State.CallInfo> getCallsList()
      repeated .yamcs.api.State.CallInfo calls = 1;
      Specified by:
      getCallsList in interface StateOrBuilder
    • getCallsCount

      public int getCallsCount()
      repeated .yamcs.api.State.CallInfo calls = 1;
      Specified by:
      getCallsCount in interface StateOrBuilder
    • getCalls

      public State.CallInfo getCalls(int index)
      repeated .yamcs.api.State.CallInfo calls = 1;
      Specified by:
      getCalls in interface StateOrBuilder
    • setCalls

      public State.Builder setCalls(int index, State.CallInfo value)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • setCalls

      public State.Builder setCalls(int index, State.CallInfo.Builder builderForValue)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • addCalls

      public State.Builder addCalls(State.CallInfo value)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • addCalls

      public State.Builder addCalls(int index, State.CallInfo value)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • addCalls

      public State.Builder addCalls(State.CallInfo.Builder builderForValue)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • addCalls

      public State.Builder addCalls(int index, State.CallInfo.Builder builderForValue)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • addAllCalls

      public State.Builder addAllCalls(Iterable<? extends State.CallInfo> values)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • clearCalls

      public State.Builder clearCalls()
      repeated .yamcs.api.State.CallInfo calls = 1;
    • removeCalls

      public State.Builder removeCalls(int index)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • getCallsBuilder

      public State.CallInfo.Builder getCallsBuilder(int index)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • getCallsOrBuilder

      public State.CallInfoOrBuilder getCallsOrBuilder(int index)
      repeated .yamcs.api.State.CallInfo calls = 1;
      Specified by:
      getCallsOrBuilder in interface StateOrBuilder
    • getCallsOrBuilderList

      public List<? extends State.CallInfoOrBuilder> getCallsOrBuilderList()
      repeated .yamcs.api.State.CallInfo calls = 1;
      Specified by:
      getCallsOrBuilderList in interface StateOrBuilder
    • addCallsBuilder

      public State.CallInfo.Builder addCallsBuilder()
      repeated .yamcs.api.State.CallInfo calls = 1;
    • addCallsBuilder

      public State.CallInfo.Builder addCallsBuilder(int index)
      repeated .yamcs.api.State.CallInfo calls = 1;
    • getCallsBuilderList

      public List<State.CallInfo.Builder> getCallsBuilderList()
      repeated .yamcs.api.State.CallInfo calls = 1;
    • setUnknownFields

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

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