Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
How long before this value expires, in millisecondsclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) The generation time of the value.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Fully qualified parameter nameThe new valueclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
How long before this value expires, 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.Fully qualified parameter namecom.google.protobuf.ByteString
Fully qualified parameter namegetValue()
The new valueThe new valueThe new valueboolean
How long before this value expires, in millisecondsboolean
The generation time of the value.boolean
Fully qualified parameter 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) mergeFrom
(ParameterValueUpdate 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 expires, 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.setParameter
(String value) Fully qualified parameter namesetParameterBytes
(com.google.protobuf.ByteString value) Fully qualified parameter 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<ParameterValueUpdate.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<ParameterValueUpdate.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<ParameterValueUpdate.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<ParameterValueUpdate.Builder>
-
setField
public ParameterValueUpdate.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<ParameterValueUpdate.Builder>
-
clearField
public ParameterValueUpdate.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<ParameterValueUpdate.Builder>
-
clearOneof
public ParameterValueUpdate.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<ParameterValueUpdate.Builder>
-
setRepeatedField
public ParameterValueUpdate.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<ParameterValueUpdate.Builder>
-
addRepeatedField
public ParameterValueUpdate.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<ParameterValueUpdate.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ParameterValueUpdate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ParameterValueUpdate.Builder>
- Throws:
IOException
-
hasParameter
public boolean hasParameter()Fully qualified parameter name
optional string parameter = 1;
- Specified by:
hasParameter
in interfaceParameterValueUpdateOrBuilder
- Returns:
- Whether the parameter field is set.
-
getParameter
Fully qualified parameter name
optional string parameter = 1;
- Specified by:
getParameter
in interfaceParameterValueUpdateOrBuilder
- Returns:
- The parameter.
-
getParameterBytes
public com.google.protobuf.ByteString getParameterBytes()Fully qualified parameter name
optional string parameter = 1;
- Specified by:
getParameterBytes
in interfaceParameterValueUpdateOrBuilder
- Returns:
- The bytes for parameter.
-
setParameter
Fully qualified parameter name
optional string parameter = 1;
- Parameters:
value
- The parameter to set.- Returns:
- This builder for chaining.
-
clearParameter
Fully qualified parameter name
optional string parameter = 1;
- Returns:
- This builder for chaining.
-
setParameterBytes
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 interfaceParameterValueUpdateOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
The new value
optional .yamcs.protobuf.Value value = 2;
- Specified by:
getValue
in interfaceParameterValueUpdateOrBuilder
- Returns:
- The value.
-
setValue
The new value
optional .yamcs.protobuf.Value value = 2;
-
setValue
The new value
optional .yamcs.protobuf.Value value = 2;
-
mergeValue
The new value
optional .yamcs.protobuf.Value value = 2;
-
clearValue
The new value
optional .yamcs.protobuf.Value value = 2;
-
getValueBuilder
The new value
optional .yamcs.protobuf.Value value = 2;
-
getValueOrBuilder
The new value
optional .yamcs.protobuf.Value value = 2;
- Specified by:
getValueOrBuilder
in interfaceParameterValueUpdateOrBuilder
-
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 interfaceParameterValueUpdateOrBuilder
- 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 interfaceParameterValueUpdateOrBuilder
- 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 = 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
The generation time of the value. If specified, must be a date string in ISO 8601 format.
optional .google.protobuf.Timestamp generationTime = 3;
-
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 interfaceParameterValueUpdateOrBuilder
-
hasExpiresIn
public boolean hasExpiresIn()How long before this value expires, in milliseconds
optional uint64 expiresIn = 4;
- Specified by:
hasExpiresIn
in interfaceParameterValueUpdateOrBuilder
- 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 interfaceParameterValueUpdateOrBuilder
- Returns:
- The expiresIn.
-
setExpiresIn
How long before this value expires, in milliseconds
optional uint64 expiresIn = 4;
- Parameters:
value
- The expiresIn to set.- Returns:
- This builder for chaining.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterValueUpdate.Builder>
-
mergeUnknownFields
public final ParameterValueUpdate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterValueUpdate.Builder>
-