Class ParameterValueUpdate.Builder

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

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

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

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

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

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

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

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

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

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

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

      public ParameterValueUpdate.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<ParameterValueUpdate.Builder>
      Throws:
      IOException
    • hasParameter

      public boolean hasParameter()
       Fully qualified parameter name
       
      optional string parameter = 1;
      Specified by:
      hasParameter in interface ParameterValueUpdateOrBuilder
      Returns:
      Whether the parameter field is set.
    • getParameter

      public String getParameter()
       Fully qualified parameter name
       
      optional string parameter = 1;
      Specified by:
      getParameter in interface ParameterValueUpdateOrBuilder
      Returns:
      The parameter.
    • getParameterBytes

      public com.google.protobuf.ByteString getParameterBytes()
       Fully qualified parameter name
       
      optional string parameter = 1;
      Specified by:
      getParameterBytes in interface ParameterValueUpdateOrBuilder
      Returns:
      The bytes for parameter.
    • setParameter

      public ParameterValueUpdate.Builder setParameter(String value)
       Fully qualified parameter name
       
      optional string parameter = 1;
      Parameters:
      value - The parameter to set.
      Returns:
      This builder for chaining.
    • clearParameter

      public ParameterValueUpdate.Builder clearParameter()
       Fully qualified parameter name
       
      optional string parameter = 1;
      Returns:
      This builder for chaining.
    • setParameterBytes

      public ParameterValueUpdate.Builder setParameterBytes(com.google.protobuf.ByteString value)
       Fully qualified parameter name
       
      optional string parameter = 1;
      Parameters:
      value - The bytes for parameter to set.
      Returns:
      This builder for chaining.
    • hasValue

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

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

      public ParameterValueUpdate.Builder setValue(Yamcs.Value value)
       The new value
       
      optional .yamcs.protobuf.Value value = 2;
    • setValue

      public ParameterValueUpdate.Builder setValue(Yamcs.Value.Builder builderForValue)
       The new value
       
      optional .yamcs.protobuf.Value value = 2;
    • mergeValue

      public ParameterValueUpdate.Builder mergeValue(Yamcs.Value value)
       The new value
       
      optional .yamcs.protobuf.Value value = 2;
    • clearValue

      public ParameterValueUpdate.Builder clearValue()
       The new value
       
      optional .yamcs.protobuf.Value value = 2;
    • getValueBuilder

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

      public Yamcs.ValueOrBuilder getValueOrBuilder()
       The new value
       
      optional .yamcs.protobuf.Value value = 2;
      Specified by:
      getValueOrBuilder in interface ParameterValueUpdateOrBuilder
    • hasGenerationTime

      public boolean hasGenerationTime()
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
      Specified by:
      hasGenerationTime in interface ParameterValueUpdateOrBuilder
      Returns:
      Whether the generationTime field is set.
    • getGenerationTime

      public com.google.protobuf.Timestamp getGenerationTime()
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
      Specified by:
      getGenerationTime in interface ParameterValueUpdateOrBuilder
      Returns:
      The generationTime.
    • setGenerationTime

      public ParameterValueUpdate.Builder setGenerationTime(com.google.protobuf.Timestamp value)
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
    • setGenerationTime

      public ParameterValueUpdate.Builder setGenerationTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
    • mergeGenerationTime

      public ParameterValueUpdate.Builder mergeGenerationTime(com.google.protobuf.Timestamp value)
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
    • clearGenerationTime

      public ParameterValueUpdate.Builder clearGenerationTime()
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
    • getGenerationTimeBuilder

      public com.google.protobuf.Timestamp.Builder getGenerationTimeBuilder()
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
    • getGenerationTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getGenerationTimeOrBuilder()
       The generation time of the value. If specified, must be a date
       string in ISO 8601 format.
       
      optional .google.protobuf.Timestamp generationTime = 3;
      Specified by:
      getGenerationTimeOrBuilder in interface ParameterValueUpdateOrBuilder
    • hasExpiresIn

      public boolean hasExpiresIn()
       How long before this value expires, in milliseconds
       
      optional uint64 expiresIn = 4;
      Specified by:
      hasExpiresIn in interface ParameterValueUpdateOrBuilder
      Returns:
      Whether the expiresIn field is set.
    • getExpiresIn

      public long getExpiresIn()
       How long before this value expires, in milliseconds
       
      optional uint64 expiresIn = 4;
      Specified by:
      getExpiresIn in interface ParameterValueUpdateOrBuilder
      Returns:
      The expiresIn.
    • setExpiresIn

      public ParameterValueUpdate.Builder setExpiresIn(long value)
       How long before this value expires, in milliseconds
       
      optional uint64 expiresIn = 4;
      Parameters:
      value - The expiresIn to set.
      Returns:
      This builder for chaining.
    • clearExpiresIn

      public ParameterValueUpdate.Builder clearExpiresIn()
       How long before this value expires, in milliseconds
       
      optional uint64 expiresIn = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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