Class GetParameterValueRequest.Builder

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

public static final class GetParameterValueRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GetParameterValueRequest.Builder> implements GetParameterValueRequestOrBuilder
 Request message for `GetParameterValue`.
 
Protobuf type yamcs.protobuf.processing.GetParameterValueRequest
  • 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<GetParameterValueRequest.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<GetParameterValueRequest.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<GetParameterValueRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public GetParameterValueRequest.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<GetParameterValueRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface GetParameterValueRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      getInstance in interface GetParameterValueRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name.
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface GetParameterValueRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public GetParameterValueRequest.Builder setInstance(String value)
       Yamcs instance name.
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public GetParameterValueRequest.Builder clearInstance()
       Yamcs instance name.
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public GetParameterValueRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name.
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasProcessor

      public boolean hasProcessor()
       Processor name
       
      optional string processor = 2;
      Specified by:
      hasProcessor in interface GetParameterValueRequestOrBuilder
      Returns:
      Whether the processor field is set.
    • getProcessor

      public String getProcessor()
       Processor name
       
      optional string processor = 2;
      Specified by:
      getProcessor in interface GetParameterValueRequestOrBuilder
      Returns:
      The processor.
    • getProcessorBytes

      public com.google.protobuf.ByteString getProcessorBytes()
       Processor name
       
      optional string processor = 2;
      Specified by:
      getProcessorBytes in interface GetParameterValueRequestOrBuilder
      Returns:
      The bytes for processor.
    • setProcessor

      public GetParameterValueRequest.Builder setProcessor(String value)
       Processor name
       
      optional string processor = 2;
      Parameters:
      value - The processor to set.
      Returns:
      This builder for chaining.
    • clearProcessor

      public GetParameterValueRequest.Builder clearProcessor()
       Processor name
       
      optional string processor = 2;
      Returns:
      This builder for chaining.
    • setProcessorBytes

      public GetParameterValueRequest.Builder setProcessorBytes(com.google.protobuf.ByteString value)
       Processor name
       
      optional string processor = 2;
      Parameters:
      value - The bytes for processor to set.
      Returns:
      This builder for chaining.
    • hasName

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

      public String getName()
       Parameter name.
       
      optional string name = 3;
      Specified by:
      getName in interface GetParameterValueRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

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

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

       Parameter name.
       
      optional string name = 3;
      Returns:
      This builder for chaining.
    • setNameBytes

      public GetParameterValueRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Parameter name.
       
      optional string name = 3;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasFromCache

      public boolean hasFromCache()
       Whether the latest cached value may be returned. Default: ``yes``.
       
      optional bool fromCache = 4;
      Specified by:
      hasFromCache in interface GetParameterValueRequestOrBuilder
      Returns:
      Whether the fromCache field is set.
    • getFromCache

      public boolean getFromCache()
       Whether the latest cached value may be returned. Default: ``yes``.
       
      optional bool fromCache = 4;
      Specified by:
      getFromCache in interface GetParameterValueRequestOrBuilder
      Returns:
      The fromCache.
    • setFromCache

      public GetParameterValueRequest.Builder setFromCache(boolean value)
       Whether the latest cached value may be returned. Default: ``yes``.
       
      optional bool fromCache = 4;
      Parameters:
      value - The fromCache to set.
      Returns:
      This builder for chaining.
    • clearFromCache

      public GetParameterValueRequest.Builder clearFromCache()
       Whether the latest cached value may be returned. Default: ``yes``.
       
      optional bool fromCache = 4;
      Returns:
      This builder for chaining.
    • hasTimeout

      public boolean hasTimeout()
       Time in milliseconds to wait on a value (only considered if
       ``fromCache=no``). When the timeout is met, the call will return
       with no or partial data. Default: ``10000``.
       
      optional uint64 timeout = 5;
      Specified by:
      hasTimeout in interface GetParameterValueRequestOrBuilder
      Returns:
      Whether the timeout field is set.
    • getTimeout

      public long getTimeout()
       Time in milliseconds to wait on a value (only considered if
       ``fromCache=no``). When the timeout is met, the call will return
       with no or partial data. Default: ``10000``.
       
      optional uint64 timeout = 5;
      Specified by:
      getTimeout in interface GetParameterValueRequestOrBuilder
      Returns:
      The timeout.
    • setTimeout

      public GetParameterValueRequest.Builder setTimeout(long value)
       Time in milliseconds to wait on a value (only considered if
       ``fromCache=no``). When the timeout is met, the call will return
       with no or partial data. Default: ``10000``.
       
      optional uint64 timeout = 5;
      Parameters:
      value - The timeout to set.
      Returns:
      This builder for chaining.
    • clearTimeout

      public GetParameterValueRequest.Builder clearTimeout()
       Time in milliseconds to wait on a value (only considered if
       ``fromCache=no``). When the timeout is met, the call will return
       with no or partial data. Default: ``10000``.
       
      optional uint64 timeout = 5;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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