Package org.yamcs.protobuf
Class Pvalue.ParameterData.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterData.Builder>
org.yamcs.protobuf.Pvalue.ParameterData.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Pvalue.ParameterDataOrBuilder
- Enclosing class:
- Pvalue.ParameterData
public static final class Pvalue.ParameterData.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterData.Builder>
implements Pvalue.ParameterDataOrBuilder
Protobuf type
yamcs.protobuf.pvalue.ParameterData
-
Method Summary
Modifier and TypeMethodDescriptionaddAllParameter
(Iterable<? extends Pvalue.ParameterValue> values) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
addParameter
(int index, Pvalue.ParameterValue value) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
addParameter
(int index, Pvalue.ParameterValue.Builder builderForValue) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
addParameter
(Pvalue.ParameterValue.Builder builderForValue) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
addParameterBuilder
(int index) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional int64 generationTime = 3;
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
optional int32 seqNum = 4;
Used when parameter data is delivered as result of subscriptionsclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
optional int64 generationTime = 3;
getGroup()
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources.com.google.protobuf.ByteString
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources.getParameter
(int index) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
getParameterBuilder
(int index) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
int
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
getParameterOrBuilder
(int index) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
List<? extends Pvalue.ParameterValueOrBuilder>
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
int
optional int32 seqNum = 4;
int
Used when parameter data is delivered as result of subscriptionsboolean
optional int64 generationTime = 3;
boolean
hasGroup()
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources.boolean
optional int32 seqNum = 4;
boolean
Used when parameter data is delivered as result of subscriptionsprotected 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
(Pvalue.ParameterData other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeParameter
(int index) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
setGenerationTime
(long value) optional int64 generationTime = 3;
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources.setGroupBytes
(com.google.protobuf.ByteString value) The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources.setParameter
(int index, Pvalue.ParameterValue value) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
setParameter
(int index, Pvalue.ParameterValue.Builder builderForValue) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSeqNum
(int value) optional int32 seqNum = 4;
setSubscriptionId
(int value) Used when parameter data is delivered as result of subscriptionssetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods 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<Pvalue.ParameterData.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<Pvalue.ParameterData.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<Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
-
setField
public Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
-
clearField
public Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
-
clearOneof
public Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
-
setRepeatedField
public Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
-
addRepeatedField
public Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Pvalue.ParameterData.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterData.Builder>
-
mergeFrom
public Pvalue.ParameterData.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<Pvalue.ParameterData.Builder>
- Throws:
IOException
-
getParameterList
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
- Specified by:
getParameterList
in interfacePvalue.ParameterDataOrBuilder
-
getParameterCount
public int getParameterCount()repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
- Specified by:
getParameterCount
in interfacePvalue.ParameterDataOrBuilder
-
getParameter
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
- Specified by:
getParameter
in interfacePvalue.ParameterDataOrBuilder
-
setParameter
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
setParameter
public Pvalue.ParameterData.Builder setParameter(int index, Pvalue.ParameterValue.Builder builderForValue) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
addParameter
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
addParameter
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
addParameter
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
addParameter
public Pvalue.ParameterData.Builder addParameter(int index, Pvalue.ParameterValue.Builder builderForValue) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
addAllParameter
public Pvalue.ParameterData.Builder addAllParameter(Iterable<? extends Pvalue.ParameterValue> values) repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
clearParameter
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
removeParameter
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
getParameterBuilder
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
getParameterOrBuilder
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
- Specified by:
getParameterOrBuilder
in interfacePvalue.ParameterDataOrBuilder
-
getParameterOrBuilderList
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
- Specified by:
getParameterOrBuilderList
in interfacePvalue.ParameterDataOrBuilder
-
addParameterBuilder
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
addParameterBuilder
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
getParameterBuilderList
repeated .yamcs.protobuf.pvalue.ParameterValue parameter = 1;
-
hasGroup
public boolean hasGroup()The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources. The time should roughly correspond to the parameter time but can be rounded for better efficiency.
optional string group = 2;
- Specified by:
hasGroup
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- Whether the group field is set.
-
getGroup
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources. The time should roughly correspond to the parameter time but can be rounded for better efficiency.
optional string group = 2;
- Specified by:
getGroup
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- The group.
-
getGroupBytes
public com.google.protobuf.ByteString getGroupBytes()The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources. The time should roughly correspond to the parameter time but can be rounded for better efficiency.
optional string group = 2;
- Specified by:
getGroupBytes
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- The bytes for group.
-
setGroup
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources. The time should roughly correspond to the parameter time but can be rounded for better efficiency.
optional string group = 2;
- Parameters:
value
- The group to set.- Returns:
- This builder for chaining.
-
clearGroup
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources. The time should roughly correspond to the parameter time but can be rounded for better efficiency.
optional string group = 2;
- Returns:
- This builder for chaining.
-
setGroupBytes
The next three fields are used by the recorder as unique key to store parameters in "rows" and also by components that provide parameters from external sources. The time should roughly correspond to the parameter time but can be rounded for better efficiency.
optional string group = 2;
- Parameters:
value
- The bytes for group to set.- Returns:
- This builder for chaining.
-
hasGenerationTime
public boolean hasGenerationTime()optional int64 generationTime = 3;
- Specified by:
hasGenerationTime
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- Whether the generationTime field is set.
-
getGenerationTime
public long getGenerationTime()optional int64 generationTime = 3;
- Specified by:
getGenerationTime
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- The generationTime.
-
setGenerationTime
optional int64 generationTime = 3;
- Parameters:
value
- The generationTime to set.- Returns:
- This builder for chaining.
-
clearGenerationTime
optional int64 generationTime = 3;
- Returns:
- This builder for chaining.
-
hasSeqNum
public boolean hasSeqNum()optional int32 seqNum = 4;
- Specified by:
hasSeqNum
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- Whether the seqNum field is set.
-
getSeqNum
public int getSeqNum()optional int32 seqNum = 4;
- Specified by:
getSeqNum
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- The seqNum.
-
setSeqNum
optional int32 seqNum = 4;
- Parameters:
value
- The seqNum to set.- Returns:
- This builder for chaining.
-
clearSeqNum
optional int32 seqNum = 4;
- Returns:
- This builder for chaining.
-
hasSubscriptionId
public boolean hasSubscriptionId()Used when parameter data is delivered as result of subscriptions
optional int32 subscriptionId = 5;
- Specified by:
hasSubscriptionId
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- Whether the subscriptionId field is set.
-
getSubscriptionId
public int getSubscriptionId()Used when parameter data is delivered as result of subscriptions
optional int32 subscriptionId = 5;
- Specified by:
getSubscriptionId
in interfacePvalue.ParameterDataOrBuilder
- Returns:
- The subscriptionId.
-
setSubscriptionId
Used when parameter data is delivered as result of subscriptions
optional int32 subscriptionId = 5;
- Parameters:
value
- The subscriptionId to set.- Returns:
- This builder for chaining.
-
clearSubscriptionId
Used when parameter data is delivered as result of subscriptions
optional int32 subscriptionId = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Pvalue.ParameterData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterData.Builder>
-
mergeUnknownFields
public final Pvalue.ParameterData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Pvalue.ParameterData.Builder>
-