Package org.yamcs.protobuf
Class SetParameterValueRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
org.yamcs.protobuf.SetParameterValueRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,SetParameterValueRequestOrBuilder
- Enclosing class:
- SetParameterValueRequest
public static final class SetParameterValueRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
implements SetParameterValueRequestOrBuilder
Request message for `SetParameterValue`.Protobuf type
yamcs.protobuf.processing.SetParameterValueRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
How long before this value is expired, in millisecondsclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The generation time of the value.Yamcs instance nameParameter nameclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Processor nameThe new valueclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
How long before this value is expired, in millisecondscom.google.protobuf.Timestamp
The generation time of the value.com.google.protobuf.Timestamp.Builder
The generation time of the value.com.google.protobuf.TimestampOrBuilder
The generation time of the value.Yamcs instance namecom.google.protobuf.ByteString
Yamcs instance namegetName()
Parameter namecom.google.protobuf.ByteString
Parameter nameProcessor namecom.google.protobuf.ByteString
Processor namegetValue()
The new valueThe new valueThe new valueboolean
How long before this value is expired, in millisecondsboolean
The generation time of the value.boolean
Yamcs instance nameboolean
hasName()
Parameter nameboolean
Processor nameboolean
hasValue()
The new valueprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeGenerationTime
(com.google.protobuf.Timestamp value) The generation time of the value.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) mergeValue
(Yamcs.Value value) The new valuesetExpiresIn
(long value) How long before this value is expired, in millisecondssetGenerationTime
(com.google.protobuf.Timestamp value) The generation time of the value.setGenerationTime
(com.google.protobuf.Timestamp.Builder builderForValue) The generation time of the value.setInstance
(String value) Yamcs instance namesetInstanceBytes
(com.google.protobuf.ByteString value) Yamcs instance nameParameter namesetNameBytes
(com.google.protobuf.ByteString value) Parameter namesetProcessor
(String value) Processor namesetProcessorBytes
(com.google.protobuf.ByteString value) Processor namesetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setValue
(Yamcs.Value value) The new valuesetValue
(Yamcs.Value.Builder builderForValue) The new valueMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
setField
public SetParameterValueRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
clearField
public SetParameterValueRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
clearOneof
public SetParameterValueRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
setRepeatedField
public SetParameterValueRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
addRepeatedField
public SetParameterValueRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SetParameterValueRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
mergeFrom
public SetParameterValueRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SetParameterValueRequest.Builder>
- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Specified by:
hasInstance
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name
optional string instance = 1;
- Specified by:
getInstance
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Specified by:
getInstanceBytes
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The bytes for instance.
-
setInstance
Yamcs instance name
optional string instance = 1;
- Parameters:
value
- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Yamcs instance name
optional string instance = 1;
- Returns:
- This builder for chaining.
-
setInstanceBytes
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 interfaceSetParameterValueRequestOrBuilder
- Returns:
- Whether the processor field is set.
-
getProcessor
Processor name
optional string processor = 2;
- Specified by:
getProcessor
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The processor.
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()Processor name
optional string processor = 2;
- Specified by:
getProcessorBytes
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The bytes for processor.
-
setProcessor
Processor name
optional string processor = 2;
- Parameters:
value
- The processor to set.- Returns:
- This builder for chaining.
-
clearProcessor
Processor name
optional string processor = 2;
- Returns:
- This builder for chaining.
-
setProcessorBytes
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 interfaceSetParameterValueRequestOrBuilder
- Returns:
- Whether the name field is set.
-
getName
Parameter name
optional string name = 3;
- Specified by:
getName
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Parameter name
optional string name = 3;
- Specified by:
getNameBytes
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
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
Parameter name
optional string name = 3;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()The new value
optional .yamcs.protobuf.Value value = 4;
- Specified by:
hasValue
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
The new value
optional .yamcs.protobuf.Value value = 4;
- Specified by:
getValue
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The value.
-
setValue
The new value
optional .yamcs.protobuf.Value value = 4;
-
setValue
The new value
optional .yamcs.protobuf.Value value = 4;
-
mergeValue
The new value
optional .yamcs.protobuf.Value value = 4;
-
clearValue
The new value
optional .yamcs.protobuf.Value value = 4;
-
getValueBuilder
The new value
optional .yamcs.protobuf.Value value = 4;
-
getValueOrBuilder
The new value
optional .yamcs.protobuf.Value value = 4;
- Specified by:
getValueOrBuilder
in interfaceSetParameterValueRequestOrBuilder
-
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 = 5;
- Specified by:
hasGenerationTime
in interfaceSetParameterValueRequestOrBuilder
- 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 = 5;
- Specified by:
getGenerationTime
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The generationTime.
-
setGenerationTime
The generation time of the value. If specified, must be a date string in ISO 8601 format.
optional .google.protobuf.Timestamp generationTime = 5;
-
setGenerationTime
public SetParameterValueRequest.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 = 5;
-
mergeGenerationTime
The generation time of the value. If specified, must be a date string in ISO 8601 format.
optional .google.protobuf.Timestamp generationTime = 5;
-
clearGenerationTime
The generation time of the value. If specified, must be a date string in ISO 8601 format.
optional .google.protobuf.Timestamp generationTime = 5;
-
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 = 5;
-
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 = 5;
- Specified by:
getGenerationTimeOrBuilder
in interfaceSetParameterValueRequestOrBuilder
-
hasExpiresIn
public boolean hasExpiresIn()How long before this value is expired, in milliseconds
optional uint64 expiresIn = 6;
- Specified by:
hasExpiresIn
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- Whether the expiresIn field is set.
-
getExpiresIn
public long getExpiresIn()How long before this value is expired, in milliseconds
optional uint64 expiresIn = 6;
- Specified by:
getExpiresIn
in interfaceSetParameterValueRequestOrBuilder
- Returns:
- The expiresIn.
-
setExpiresIn
How long before this value is expired, in milliseconds
optional uint64 expiresIn = 6;
- Parameters:
value
- The expiresIn to set.- Returns:
- This builder for chaining.
-
clearExpiresIn
How long before this value is expired, in milliseconds
optional uint64 expiresIn = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final SetParameterValueRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-
mergeUnknownFields
public final SetParameterValueRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<SetParameterValueRequest.Builder>
-