Package org.yamcs.protobuf
Class ParameterSubscriptionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ParameterSubscriptionRequest.Builder>
org.yamcs.protobuf.ParameterSubscriptionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,ParameterSubscriptionRequestOrBuilder
- Enclosing class:
- ParameterSubscriptionRequest
public static final class ParameterSubscriptionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ParameterSubscriptionRequest.Builder>
implements ParameterSubscriptionRequestOrBuilder
Protobuf type
yamcs.protobuf.web.ParameterSubscriptionRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllId
(Iterable<? extends Yamcs.NamedObjectId> values) repeated .yamcs.protobuf.NamedObjectId id = 1;
addId
(int index, Yamcs.NamedObjectId value) repeated .yamcs.protobuf.NamedObjectId id = 1;
addId
(int index, Yamcs.NamedObjectId.Builder builderForValue) repeated .yamcs.protobuf.NamedObjectId id = 1;
addId
(Yamcs.NamedObjectId value) repeated .yamcs.protobuf.NamedObjectId id = 1;
addId
(Yamcs.NamedObjectId.Builder builderForValue) repeated .yamcs.protobuf.NamedObjectId id = 1;
repeated .yamcs.protobuf.NamedObjectId id = 1;
addIdBuilder
(int index) repeated .yamcs.protobuf.NamedObjectId id = 1;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
if set to true, an error message will be sent back if any parameter from the list above is invalid by default is falseclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
repeated .yamcs.protobuf.NamedObjectId id = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updatedsubcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that idif set to true, send parameter updates when parameters expire.clone()
boolean
if set to true, an error message will be sent back if any parameter from the list above is invalid by default is falsestatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId
(int index) repeated .yamcs.protobuf.NamedObjectId id = 1;
getIdBuilder
(int index) repeated .yamcs.protobuf.NamedObjectId id = 1;
repeated .yamcs.protobuf.NamedObjectId id = 1;
int
repeated .yamcs.protobuf.NamedObjectId id = 1;
repeated .yamcs.protobuf.NamedObjectId id = 1;
getIdOrBuilder
(int index) repeated .yamcs.protobuf.NamedObjectId id = 1;
List<? extends Yamcs.NamedObjectIdOrBuilder>
repeated .yamcs.protobuf.NamedObjectId id = 1;
boolean
if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updatedint
subcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that idboolean
if set to true, send parameter updates when parameters expire.boolean
if set to true, an error message will be sent back if any parameter from the list above is invalid by default is falseboolean
if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updatedboolean
subcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that idboolean
if set to true, send parameter updates when parameters expire.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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) repeated .yamcs.protobuf.NamedObjectId id = 1;
setAbortOnInvalid
(boolean value) if set to true, an error message will be sent back if any parameter from the list above is invalid by default is falsesetId
(int index, Yamcs.NamedObjectId value) repeated .yamcs.protobuf.NamedObjectId id = 1;
setId
(int index, Yamcs.NamedObjectId.Builder builderForValue) repeated .yamcs.protobuf.NamedObjectId id = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSendFromCache
(boolean value) if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updatedsetSubscriptionId
(int value) subcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that idsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateOnExpiration
(boolean value) if set to true, send parameter updates when parameters expire.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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<ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.Builder>
-
setField
public ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.Builder>
-
clearField
public ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.Builder>
-
clearOneof
public ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.Builder>
-
setRepeatedField
public ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.Builder>
-
addRepeatedField
public ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ParameterSubscriptionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterSubscriptionRequest.Builder>
-
mergeFrom
public ParameterSubscriptionRequest.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<ParameterSubscriptionRequest.Builder>
- Throws:
IOException
-
getIdList
repeated .yamcs.protobuf.NamedObjectId id = 1;
- Specified by:
getIdList
in interfaceParameterSubscriptionRequestOrBuilder
-
getIdCount
public int getIdCount()repeated .yamcs.protobuf.NamedObjectId id = 1;
- Specified by:
getIdCount
in interfaceParameterSubscriptionRequestOrBuilder
-
getId
repeated .yamcs.protobuf.NamedObjectId id = 1;
- Specified by:
getId
in interfaceParameterSubscriptionRequestOrBuilder
-
setId
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
setId
public ParameterSubscriptionRequest.Builder setId(int index, Yamcs.NamedObjectId.Builder builderForValue) repeated .yamcs.protobuf.NamedObjectId id = 1;
-
addId
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
addId
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
addId
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
addId
public ParameterSubscriptionRequest.Builder addId(int index, Yamcs.NamedObjectId.Builder builderForValue) repeated .yamcs.protobuf.NamedObjectId id = 1;
-
addAllId
public ParameterSubscriptionRequest.Builder addAllId(Iterable<? extends Yamcs.NamedObjectId> values) repeated .yamcs.protobuf.NamedObjectId id = 1;
-
clearId
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
removeId
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
getIdBuilder
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
getIdOrBuilder
repeated .yamcs.protobuf.NamedObjectId id = 1;
- Specified by:
getIdOrBuilder
in interfaceParameterSubscriptionRequestOrBuilder
-
getIdOrBuilderList
repeated .yamcs.protobuf.NamedObjectId id = 1;
- Specified by:
getIdOrBuilderList
in interfaceParameterSubscriptionRequestOrBuilder
-
addIdBuilder
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
addIdBuilder
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
getIdBuilderList
repeated .yamcs.protobuf.NamedObjectId id = 1;
-
hasAbortOnInvalid
public boolean hasAbortOnInvalid()if set to true, an error message will be sent back if any parameter from the list above is invalid by default is false
optional bool abortOnInvalid = 2;
- Specified by:
hasAbortOnInvalid
in interfaceParameterSubscriptionRequestOrBuilder
-
getAbortOnInvalid
public boolean getAbortOnInvalid()if set to true, an error message will be sent back if any parameter from the list above is invalid by default is false
optional bool abortOnInvalid = 2;
- Specified by:
getAbortOnInvalid
in interfaceParameterSubscriptionRequestOrBuilder
-
setAbortOnInvalid
if set to true, an error message will be sent back if any parameter from the list above is invalid by default is false
optional bool abortOnInvalid = 2;
-
clearAbortOnInvalid
if set to true, an error message will be sent back if any parameter from the list above is invalid by default is false
optional bool abortOnInvalid = 2;
-
hasUpdateOnExpiration
public boolean hasUpdateOnExpiration()if set to true, send parameter updates when parameters expire. the parameter will have the same value and timestamp like the previous sent one, but the acquisition status will be set to EXPIRED (instead of ACQUIRED) by default is false
optional bool updateOnExpiration = 3;
- Specified by:
hasUpdateOnExpiration
in interfaceParameterSubscriptionRequestOrBuilder
-
getUpdateOnExpiration
public boolean getUpdateOnExpiration()if set to true, send parameter updates when parameters expire. the parameter will have the same value and timestamp like the previous sent one, but the acquisition status will be set to EXPIRED (instead of ACQUIRED) by default is false
optional bool updateOnExpiration = 3;
- Specified by:
getUpdateOnExpiration
in interfaceParameterSubscriptionRequestOrBuilder
-
setUpdateOnExpiration
if set to true, send parameter updates when parameters expire. the parameter will have the same value and timestamp like the previous sent one, but the acquisition status will be set to EXPIRED (instead of ACQUIRED) by default is false
optional bool updateOnExpiration = 3;
-
clearUpdateOnExpiration
if set to true, send parameter updates when parameters expire. the parameter will have the same value and timestamp like the previous sent one, but the acquisition status will be set to EXPIRED (instead of ACQUIRED) by default is false
optional bool updateOnExpiration = 3;
-
hasSendFromCache
public boolean hasSendFromCache()if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updated
optional bool sendFromCache = 4;
- Specified by:
hasSendFromCache
in interfaceParameterSubscriptionRequestOrBuilder
-
getSendFromCache
public boolean getSendFromCache()if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updated
optional bool sendFromCache = 4;
- Specified by:
getSendFromCache
in interfaceParameterSubscriptionRequestOrBuilder
-
setSendFromCache
if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updated
optional bool sendFromCache = 4;
-
clearSendFromCache
if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updated
optional bool sendFromCache = 4;
-
hasSubscriptionId
public boolean hasSubscriptionId()subcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that id
optional int32 subscriptionId = 5;
- Specified by:
hasSubscriptionId
in interfaceParameterSubscriptionRequestOrBuilder
-
getSubscriptionId
public int getSubscriptionId()subcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that id
optional int32 subscriptionId = 5;
- Specified by:
getSubscriptionId
in interfaceParameterSubscriptionRequestOrBuilder
-
setSubscriptionId
subcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that id
optional int32 subscriptionId = 5;
-
clearSubscriptionId
subcriptionId 0 or not specified means to add parameters to the first subscription made this is for compatibility with the previous yamcs version before 4.1 when it was not possible to have multiple subscriptions -1 means to create a new subscription >1 means to add parameters to the existing subcription with that id
optional int32 subscriptionId = 5;
-
setUnknownFields
public final ParameterSubscriptionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterSubscriptionRequest.Builder>
-
mergeUnknownFields
public final ParameterSubscriptionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ParameterSubscriptionRequest.Builder>
-