Class Commanding.CommandId.Builder

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

public static final class Commanding.CommandId.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Commanding.CommandId.Builder> implements Commanding.CommandIdOrBuilder
Protobuf type yamcs.protobuf.commanding.CommandId
  • 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<Commanding.CommandId.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<Commanding.CommandId.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<Commanding.CommandId.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public Commanding.CommandId.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<Commanding.CommandId.Builder>
      Throws:
      IOException
    • hasGenerationTime

      public boolean hasGenerationTime()
      required int64 generationTime = 1;
      Specified by:
      hasGenerationTime in interface Commanding.CommandIdOrBuilder
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      public long getGenerationTime()
      required int64 generationTime = 1;
      Specified by:
      getGenerationTime in interface Commanding.CommandIdOrBuilder
      Returns:
      The generationTime.
    • setGenerationTime

      public Commanding.CommandId.Builder setGenerationTime(long value)
      required int64 generationTime = 1;
      Parameters:
      value - The generationTime to set.
      Returns:
      This builder for chaining.
    • clearGenerationTime

      public Commanding.CommandId.Builder clearGenerationTime()
      required int64 generationTime = 1;
      Returns:
      This builder for chaining.
    • hasOrigin

      public boolean hasOrigin()
      required string origin = 2;
      Specified by:
      hasOrigin in interface Commanding.CommandIdOrBuilder
      Returns:
      Whether the origin field is set.
    • getOrigin

      public String getOrigin()
      required string origin = 2;
      Specified by:
      getOrigin in interface Commanding.CommandIdOrBuilder
      Returns:
      The origin.
    • getOriginBytes

      public com.google.protobuf.ByteString getOriginBytes()
      required string origin = 2;
      Specified by:
      getOriginBytes in interface Commanding.CommandIdOrBuilder
      Returns:
      The bytes for origin.
    • setOrigin

      public Commanding.CommandId.Builder setOrigin(String value)
      required string origin = 2;
      Parameters:
      value - The origin to set.
      Returns:
      This builder for chaining.
    • clearOrigin

      public Commanding.CommandId.Builder clearOrigin()
      required string origin = 2;
      Returns:
      This builder for chaining.
    • setOriginBytes

      public Commanding.CommandId.Builder setOriginBytes(com.google.protobuf.ByteString value)
      required string origin = 2;
      Parameters:
      value - The bytes for origin to set.
      Returns:
      This builder for chaining.
    • hasSequenceNumber

      public boolean hasSequenceNumber()
      unique in relation to generationTime and origin
       
      required int32 sequenceNumber = 3;
      Specified by:
      hasSequenceNumber in interface Commanding.CommandIdOrBuilder
      Returns:
      Whether the sequenceNumber field is set.
    • getSequenceNumber

      public int getSequenceNumber()
      unique in relation to generationTime and origin
       
      required int32 sequenceNumber = 3;
      Specified by:
      getSequenceNumber in interface Commanding.CommandIdOrBuilder
      Returns:
      The sequenceNumber.
    • setSequenceNumber

      public Commanding.CommandId.Builder setSequenceNumber(int value)
      unique in relation to generationTime and origin
       
      required int32 sequenceNumber = 3;
      Parameters:
      value - The sequenceNumber to set.
      Returns:
      This builder for chaining.
    • clearSequenceNumber

      public Commanding.CommandId.Builder clearSequenceNumber()
      unique in relation to generationTime and origin
       
      required int32 sequenceNumber = 3;
      Returns:
      This builder for chaining.
    • hasCommandName

      public boolean hasCommandName()
      optional string commandName = 4;
      Specified by:
      hasCommandName in interface Commanding.CommandIdOrBuilder
      Returns:
      Whether the commandName field is set.
    • getCommandName

      public String getCommandName()
      optional string commandName = 4;
      Specified by:
      getCommandName in interface Commanding.CommandIdOrBuilder
      Returns:
      The commandName.
    • getCommandNameBytes

      public com.google.protobuf.ByteString getCommandNameBytes()
      optional string commandName = 4;
      Specified by:
      getCommandNameBytes in interface Commanding.CommandIdOrBuilder
      Returns:
      The bytes for commandName.
    • setCommandName

      public Commanding.CommandId.Builder setCommandName(String value)
      optional string commandName = 4;
      Parameters:
      value - The commandName to set.
      Returns:
      This builder for chaining.
    • clearCommandName

      public Commanding.CommandId.Builder clearCommandName()
      optional string commandName = 4;
      Returns:
      This builder for chaining.
    • setCommandNameBytes

      public Commanding.CommandId.Builder setCommandNameBytes(com.google.protobuf.ByteString value)
      optional string commandName = 4;
      Parameters:
      value - The bytes for commandName to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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