java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
org.yamcs.protobuf.SubscribeParametersRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,SubscribeParametersRequestOrBuilder
- Enclosing class:
- SubscribeParametersRequest
public static final class SubscribeParametersRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
implements SubscribeParametersRequestOrBuilder
Request message for `SubscribeParameters`.Protobuf type
yamcs.protobuf.processing.SubscribeParametersRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllId(Iterable<? extends Yamcs.NamedObjectId> values) Parameter identifiers.addId(int index, Yamcs.NamedObjectId value) Parameter identifiers.addId(int index, Yamcs.NamedObjectId.Builder builderForValue) Parameter identifiers.addId(Yamcs.NamedObjectId value) Parameter identifiers.addId(Yamcs.NamedObjectId.Builder builderForValue) Parameter identifiers.Parameter identifiers.addIdBuilder(int index) Parameter identifiers.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Send an error message if any parameter is invalid.How to interpret the submitted parameter ids.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Parameter identifiers.Yamcs instance name.If set, truncate binary values to the specified byte length.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Processor name.If available, send immediately the last cached value of each subscribed parameter.Send parameter updates when parameters expire.clone()booleanSend an error message if any parameter is invalid.How to interpret the submitted parameter ids.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId(int index) Parameter identifiers.getIdBuilder(int index) Parameter identifiers.Parameter identifiers.intParameter identifiers.Parameter identifiers.getIdOrBuilder(int index) Parameter identifiers.List<? extends Yamcs.NamedObjectIdOrBuilder>Parameter identifiers.Yamcs instance name.com.google.protobuf.ByteStringYamcs instance name.intIf set, truncate binary values to the specified byte length.Processor name.com.google.protobuf.ByteStringProcessor name.booleanIf available, send immediately the last cached value of each subscribed parameter.booleanSend parameter updates when parameters expire.booleanSend an error message if any parameter is invalid.booleanHow to interpret the submitted parameter ids.booleanYamcs instance name.booleanIf set, truncate binary values to the specified byte length.booleanProcessor name.booleanIf available, send immediately the last cached value of each subscribed parameter.booleanSend parameter updates when parameters expire.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeId(int index) Parameter identifiers.setAbortOnInvalid(boolean value) Send an error message if any parameter is invalid.How to interpret the submitted parameter ids.setId(int index, Yamcs.NamedObjectId value) Parameter identifiers.setId(int index, Yamcs.NamedObjectId.Builder builderForValue) Parameter identifiers.setInstance(String value) Yamcs instance name.setInstanceBytes(com.google.protobuf.ByteString value) Yamcs instance name.setMaxBytes(int value) If set, truncate binary values to the specified byte length.setProcessor(String value) Processor name.setProcessorBytes(com.google.protobuf.ByteString value) Processor name.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSendFromCache(boolean value) If available, send immediately the last cached value of each subscribed parameter.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateOnExpiration(boolean value) Send parameter updates when parameters expire.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
setField
public SubscribeParametersRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
clearField
public SubscribeParametersRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
clearOneof
public SubscribeParametersRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
setRepeatedField
public SubscribeParametersRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
addRepeatedField
public SubscribeParametersRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscribeParametersRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
mergeFrom
public SubscribeParametersRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SubscribeParametersRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()Yamcs instance name.
optional string instance = 1;- Specified by:
hasInstancein interfaceSubscribeParametersRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
Yamcs instance name.
optional string instance = 1;- Specified by:
getInstancein interfaceSubscribeParametersRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name.
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceSubscribeParametersRequestOrBuilder- 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:
hasProcessorin interfaceSubscribeParametersRequestOrBuilder- Returns:
- Whether the processor field is set.
-
getProcessor
Processor name.
optional string processor = 2;- Specified by:
getProcessorin interfaceSubscribeParametersRequestOrBuilder- Returns:
- The processor.
-
getProcessorBytes
public com.google.protobuf.ByteString getProcessorBytes()Processor name.
optional string processor = 2;- Specified by:
getProcessorBytesin interfaceSubscribeParametersRequestOrBuilder- 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.
-
getIdList
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
getIdListin interfaceSubscribeParametersRequestOrBuilder
-
getIdCount
public int getIdCount()Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
getIdCountin interfaceSubscribeParametersRequestOrBuilder
-
getId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
getIdin interfaceSubscribeParametersRequestOrBuilder
-
setId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
setId
public SubscribeParametersRequest.Builder setId(int index, Yamcs.NamedObjectId.Builder builderForValue) Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
addId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
addId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
addId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
addId
public SubscribeParametersRequest.Builder addId(int index, Yamcs.NamedObjectId.Builder builderForValue) Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
addAllId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
clearId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
removeId
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
getIdBuilder
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
getIdOrBuilder
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
getIdOrBuilderin interfaceSubscribeParametersRequestOrBuilder
-
getIdOrBuilderList
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3;- Specified by:
getIdOrBuilderListin interfaceSubscribeParametersRequestOrBuilder
-
addIdBuilder
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
addIdBuilder
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
getIdBuilderList
Parameter identifiers. Each identifier takes the form of a namespace and a name. For Yamcs-native naming only the name field is required and should be the fully qualified name. The namespace is only required when the name represents an alias of that parameter.
repeated .yamcs.protobuf.NamedObjectId id = 3; -
hasAbortOnInvalid
public boolean hasAbortOnInvalid()Send an error message if any parameter is invalid. Default: true
optional bool abortOnInvalid = 4;- Specified by:
hasAbortOnInvalidin interfaceSubscribeParametersRequestOrBuilder- Returns:
- Whether the abortOnInvalid field is set.
-
getAbortOnInvalid
public boolean getAbortOnInvalid()Send an error message if any parameter is invalid. Default: true
optional bool abortOnInvalid = 4;- Specified by:
getAbortOnInvalidin interfaceSubscribeParametersRequestOrBuilder- Returns:
- The abortOnInvalid.
-
setAbortOnInvalid
Send an error message if any parameter is invalid. Default: true
optional bool abortOnInvalid = 4;- Parameters:
value- The abortOnInvalid to set.- Returns:
- This builder for chaining.
-
clearAbortOnInvalid
Send an error message if any parameter is invalid. Default: true
optional bool abortOnInvalid = 4;- Returns:
- This builder for chaining.
-
hasUpdateOnExpiration
public boolean hasUpdateOnExpiration()Send parameter updates when parameters expire. The update will have the same value and timestamp like the preceding update, but with acquisition status set to EXPIRED (instead of ACQUIRED) Default: false
optional bool updateOnExpiration = 5;- Specified by:
hasUpdateOnExpirationin interfaceSubscribeParametersRequestOrBuilder- Returns:
- Whether the updateOnExpiration field is set.
-
getUpdateOnExpiration
public boolean getUpdateOnExpiration()Send parameter updates when parameters expire. The update will have the same value and timestamp like the preceding update, but with acquisition status set to EXPIRED (instead of ACQUIRED) Default: false
optional bool updateOnExpiration = 5;- Specified by:
getUpdateOnExpirationin interfaceSubscribeParametersRequestOrBuilder- Returns:
- The updateOnExpiration.
-
setUpdateOnExpiration
Send parameter updates when parameters expire. The update will have the same value and timestamp like the preceding update, but with acquisition status set to EXPIRED (instead of ACQUIRED) Default: false
optional bool updateOnExpiration = 5;- Parameters:
value- The updateOnExpiration to set.- Returns:
- This builder for chaining.
-
clearUpdateOnExpiration
Send parameter updates when parameters expire. The update will have the same value and timestamp like the preceding update, but with acquisition status set to EXPIRED (instead of ACQUIRED) Default: false
optional bool updateOnExpiration = 5;- Returns:
- This builder for chaining.
-
hasSendFromCache
public boolean hasSendFromCache()If available, send immediately the last cached value of each subscribed parameter. Default: true
optional bool sendFromCache = 6;- Specified by:
hasSendFromCachein interfaceSubscribeParametersRequestOrBuilder- Returns:
- Whether the sendFromCache field is set.
-
getSendFromCache
public boolean getSendFromCache()If available, send immediately the last cached value of each subscribed parameter. Default: true
optional bool sendFromCache = 6;- Specified by:
getSendFromCachein interfaceSubscribeParametersRequestOrBuilder- Returns:
- The sendFromCache.
-
setSendFromCache
If available, send immediately the last cached value of each subscribed parameter. Default: true
optional bool sendFromCache = 6;- Parameters:
value- The sendFromCache to set.- Returns:
- This builder for chaining.
-
clearSendFromCache
If available, send immediately the last cached value of each subscribed parameter. Default: true
optional bool sendFromCache = 6;- Returns:
- This builder for chaining.
-
hasAction
public boolean hasAction()How to interpret the submitted parameter ids. Default is to replace an existing subscription with the newly submitted list.
optional .yamcs.protobuf.processing.SubscribeParametersRequest.Action action = 7;- Specified by:
hasActionin interfaceSubscribeParametersRequestOrBuilder- Returns:
- Whether the action field is set.
-
getAction
How to interpret the submitted parameter ids. Default is to replace an existing subscription with the newly submitted list.
optional .yamcs.protobuf.processing.SubscribeParametersRequest.Action action = 7;- Specified by:
getActionin interfaceSubscribeParametersRequestOrBuilder- Returns:
- The action.
-
setAction
How to interpret the submitted parameter ids. Default is to replace an existing subscription with the newly submitted list.
optional .yamcs.protobuf.processing.SubscribeParametersRequest.Action action = 7;- Parameters:
value- The action to set.- Returns:
- This builder for chaining.
-
clearAction
How to interpret the submitted parameter ids. Default is to replace an existing subscription with the newly submitted list.
optional .yamcs.protobuf.processing.SubscribeParametersRequest.Action action = 7;- Returns:
- This builder for chaining.
-
hasMaxBytes
public boolean hasMaxBytes()If set, truncate binary values to the specified byte length. This may be necessary when Yamcs contains large binary values. A negative value implies no truncating, which is the default.
optional int32 maxBytes = 8;- Specified by:
hasMaxBytesin interfaceSubscribeParametersRequestOrBuilder- Returns:
- Whether the maxBytes field is set.
-
getMaxBytes
public int getMaxBytes()If set, truncate binary values to the specified byte length. This may be necessary when Yamcs contains large binary values. A negative value implies no truncating, which is the default.
optional int32 maxBytes = 8;- Specified by:
getMaxBytesin interfaceSubscribeParametersRequestOrBuilder- Returns:
- The maxBytes.
-
setMaxBytes
If set, truncate binary values to the specified byte length. This may be necessary when Yamcs contains large binary values. A negative value implies no truncating, which is the default.
optional int32 maxBytes = 8;- Parameters:
value- The maxBytes to set.- Returns:
- This builder for chaining.
-
clearMaxBytes
If set, truncate binary values to the specified byte length. This may be necessary when Yamcs contains large binary values. A negative value implies no truncating, which is the default.
optional int32 maxBytes = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final SubscribeParametersRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-
mergeUnknownFields
public final SubscribeParametersRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SubscribeParametersRequest.Builder>
-