Class ContainerData.Builder

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

public static final class ContainerData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ContainerData.Builder> implements ContainerDataOrBuilder
Protobuf type yamcs.protobuf.packets.ContainerData
  • 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<ContainerData.Builder>
    • clear

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

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

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

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

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

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

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

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

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

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

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

      public ContainerData.Builder mergeFrom(ContainerData other)
    • isInitialized

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

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

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

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

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

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

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

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

      public boolean hasGenerationTime()
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
      Specified by:
      hasGenerationTime in interface ContainerDataOrBuilder
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      public com.google.protobuf.Timestamp getGenerationTime()
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
      Specified by:
      getGenerationTime in interface ContainerDataOrBuilder
      Returns:
      The generationTime.
    • setGenerationTime

      public ContainerData.Builder setGenerationTime(com.google.protobuf.Timestamp value)
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
    • setGenerationTime

      public ContainerData.Builder setGenerationTime(com.google.protobuf.Timestamp.Builder builderForValue)
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
    • mergeGenerationTime

      public ContainerData.Builder mergeGenerationTime(com.google.protobuf.Timestamp value)
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
    • clearGenerationTime

      public ContainerData.Builder clearGenerationTime()
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
    • getGenerationTimeBuilder

      public com.google.protobuf.Timestamp.Builder getGenerationTimeBuilder()
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
    • getGenerationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
       When the container's packet was generated (packet time)
       
      optional .google.protobuf.Timestamp generationTime = 2;
      Specified by:
      getGenerationTimeOrBuilder in interface ContainerDataOrBuilder
    • hasReceptionTime

      public boolean hasReceptionTime()
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
      Specified by:
      hasReceptionTime in interface ContainerDataOrBuilder
      Returns:
      Whether the receptionTime field is set.
    • getReceptionTime

      public com.google.protobuf.Timestamp getReceptionTime()
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
      Specified by:
      getReceptionTime in interface ContainerDataOrBuilder
      Returns:
      The receptionTime.
    • setReceptionTime

      public ContainerData.Builder setReceptionTime(com.google.protobuf.Timestamp value)
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
    • setReceptionTime

      public ContainerData.Builder setReceptionTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
    • mergeReceptionTime

      public ContainerData.Builder mergeReceptionTime(com.google.protobuf.Timestamp value)
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
    • clearReceptionTime

      public ContainerData.Builder clearReceptionTime()
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
    • getReceptionTimeBuilder

      public com.google.protobuf.Timestamp.Builder getReceptionTimeBuilder()
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
    • getReceptionTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getReceptionTimeOrBuilder()
       Whent the container's packet was received by Yamcs
       
      optional .google.protobuf.Timestamp receptionTime = 3;
      Specified by:
      getReceptionTimeOrBuilder in interface ContainerDataOrBuilder
    • hasBinary

      public boolean hasBinary()
       Container bytes
       
      optional bytes binary = 4;
      Specified by:
      hasBinary in interface ContainerDataOrBuilder
      Returns:
      Whether the binary field is set.
    • getBinary

      public com.google.protobuf.ByteString getBinary()
       Container bytes
       
      optional bytes binary = 4;
      Specified by:
      getBinary in interface ContainerDataOrBuilder
      Returns:
      The binary.
    • setBinary

      public ContainerData.Builder setBinary(com.google.protobuf.ByteString value)
       Container bytes
       
      optional bytes binary = 4;
      Parameters:
      value - The binary to set.
      Returns:
      This builder for chaining.
    • clearBinary

      public ContainerData.Builder clearBinary()
       Container bytes
       
      optional bytes binary = 4;
      Returns:
      This builder for chaining.
    • hasSeqCount

      public boolean hasSeqCount()
       Sequence count - it is generated by the link when the container is injected into Yamcs.
       In case this is part of a sub-container, the sequence count is the one from the encompassing container
       
      optional uint32 seqCount = 5;
      Specified by:
      hasSeqCount in interface ContainerDataOrBuilder
      Returns:
      Whether the seqCount field is set.
    • getSeqCount

      public int getSeqCount()
       Sequence count - it is generated by the link when the container is injected into Yamcs.
       In case this is part of a sub-container, the sequence count is the one from the encompassing container
       
      optional uint32 seqCount = 5;
      Specified by:
      getSeqCount in interface ContainerDataOrBuilder
      Returns:
      The seqCount.
    • setSeqCount

      public ContainerData.Builder setSeqCount(int value)
       Sequence count - it is generated by the link when the container is injected into Yamcs.
       In case this is part of a sub-container, the sequence count is the one from the encompassing container
       
      optional uint32 seqCount = 5;
      Parameters:
      value - The seqCount to set.
      Returns:
      This builder for chaining.
    • clearSeqCount

      public ContainerData.Builder clearSeqCount()
       Sequence count - it is generated by the link when the container is injected into Yamcs.
       In case this is part of a sub-container, the sequence count is the one from the encompassing container
       
      optional uint32 seqCount = 5;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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