Class Cmdhistory.Assignment.Builder

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

public static final class Cmdhistory.Assignment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cmdhistory.Assignment.Builder> implements Cmdhistory.AssignmentOrBuilder
Protobuf type Assignment
  • 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<Cmdhistory.Assignment.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<Cmdhistory.Assignment.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<Cmdhistory.Assignment.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean hasValue()
      optional .yamcs.protobuf.Value value = 2;
      Specified by:
      hasValue in interface Cmdhistory.AssignmentOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public Yamcs.Value getValue()
      optional .yamcs.protobuf.Value value = 2;
      Specified by:
      getValue in interface Cmdhistory.AssignmentOrBuilder
      Returns:
      The value.
    • setValue

      public Cmdhistory.Assignment.Builder setValue(Yamcs.Value value)
      optional .yamcs.protobuf.Value value = 2;
    • setValue

      public Cmdhistory.Assignment.Builder setValue(Yamcs.Value.Builder builderForValue)
      optional .yamcs.protobuf.Value value = 2;
    • mergeValue

      public Cmdhistory.Assignment.Builder mergeValue(Yamcs.Value value)
      optional .yamcs.protobuf.Value value = 2;
    • clearValue

      public Cmdhistory.Assignment.Builder clearValue()
      optional .yamcs.protobuf.Value value = 2;
    • getValueBuilder

      public Yamcs.Value.Builder getValueBuilder()
      optional .yamcs.protobuf.Value value = 2;
    • getValueOrBuilder

      public Yamcs.ValueOrBuilder getValueOrBuilder()
      optional .yamcs.protobuf.Value value = 2;
      Specified by:
      getValueOrBuilder in interface Cmdhistory.AssignmentOrBuilder
    • hasUserInput

      public boolean hasUserInput()
      optional bool userInput = 3;
      Specified by:
      hasUserInput in interface Cmdhistory.AssignmentOrBuilder
      Returns:
      Whether the userInput field is set.
    • getUserInput

      public boolean getUserInput()
      optional bool userInput = 3;
      Specified by:
      getUserInput in interface Cmdhistory.AssignmentOrBuilder
      Returns:
      The userInput.
    • setUserInput

      public Cmdhistory.Assignment.Builder setUserInput(boolean value)
      optional bool userInput = 3;
      Parameters:
      value - The userInput to set.
      Returns:
      This builder for chaining.
    • clearUserInput

      public Cmdhistory.Assignment.Builder clearUserInput()
      optional bool userInput = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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