public final class ParameterSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3 implements ParameterSubscriptionRequestOrBuilder
Used for parameter subscription and unsubscription.Protobuf type
yamcs.protobuf.web.ParameterSubscriptionRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ParameterSubscriptionRequest.Builder
Used for parameter subscription and unsubscription.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ABORTONINVALID_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static com.google.protobuf.Parser<ParameterSubscriptionRequest> |
PARSER
Deprecated.
|
static int |
SENDFROMCACHE_FIELD_NUMBER |
static int |
SUBSCRIPTIONID_FIELD_NUMBER |
static int |
UPDATEONEXPIRATION_FIELD_NUMBER |
static int |
USENUMERICIDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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; |
static ParameterSubscriptionRequest |
getDefaultInstance() |
ParameterSubscriptionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Yamcs.NamedObjectId |
getId(int index)
repeated .yamcs.protobuf.NamedObjectId id = 1; |
int |
getIdCount()
repeated .yamcs.protobuf.NamedObjectId id = 1; |
List<Yamcs.NamedObjectId> |
getIdList()
repeated .yamcs.protobuf.NamedObjectId id = 1; |
Yamcs.NamedObjectIdOrBuilder |
getIdOrBuilder(int index)
repeated .yamcs.protobuf.NamedObjectId id = 1; |
List<? extends Yamcs.NamedObjectIdOrBuilder> |
getIdOrBuilderList()
repeated .yamcs.protobuf.NamedObjectId id = 1; |
com.google.protobuf.Parser<ParameterSubscriptionRequest> |
getParserForType() |
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; |
int |
getSerializedSize() |
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; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getUpdateOnExpiration()
if set to true, send parameter updates when parameters expire.
|
boolean |
getUseNumericIds()
if set to true (higly recommended), a uint32 numeric id will be assigned to each parameter and will be sent back together with the value (instead of the NamedObjectId)
this is done in order to reduce the bandwith used for transfering the parameter identifiers (since the NamedObjectId are quite long)
Note that the numeric id is only unique on the websocket connection
the ParameterSubscriptionResponse will contain the mapping id to NamedObjectId
optional bool useNumericIds = 6; |
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; |
int |
hashCode() |
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; |
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; |
boolean |
hasUpdateOnExpiration()
if set to true, send parameter updates when parameters expire.
|
boolean |
hasUseNumericIds()
if set to true (higly recommended), a uint32 numeric id will be assigned to each parameter and will be sent back together with the value (instead of the NamedObjectId)
this is done in order to reduce the bandwith used for transfering the parameter identifiers (since the NamedObjectId are quite long)
Note that the numeric id is only unique on the websocket connection
the ParameterSubscriptionResponse will contain the mapping id to NamedObjectId
optional bool useNumericIds = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ParameterSubscriptionRequest.Builder |
newBuilder() |
static ParameterSubscriptionRequest.Builder |
newBuilder(ParameterSubscriptionRequest prototype) |
ParameterSubscriptionRequest.Builder |
newBuilderForType() |
protected ParameterSubscriptionRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ParameterSubscriptionRequest |
parseDelimitedFrom(InputStream input) |
static ParameterSubscriptionRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ParameterSubscriptionRequest |
parseFrom(byte[] data) |
static ParameterSubscriptionRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ParameterSubscriptionRequest |
parseFrom(ByteBuffer data) |
static ParameterSubscriptionRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ParameterSubscriptionRequest |
parseFrom(InputStream input) |
static ParameterSubscriptionRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ParameterSubscriptionRequest> |
parser() |
ParameterSubscriptionRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ID_FIELD_NUMBER
public static final int ABORTONINVALID_FIELD_NUMBER
public static final int UPDATEONEXPIRATION_FIELD_NUMBER
public static final int SENDFROMCACHE_FIELD_NUMBER
public static final int SUBSCRIPTIONID_FIELD_NUMBER
public static final int USENUMERICIDS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<ParameterSubscriptionRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<Yamcs.NamedObjectId> getIdList()
repeated .yamcs.protobuf.NamedObjectId id = 1;getIdList in interface ParameterSubscriptionRequestOrBuilderpublic List<? extends Yamcs.NamedObjectIdOrBuilder> getIdOrBuilderList()
repeated .yamcs.protobuf.NamedObjectId id = 1;getIdOrBuilderList in interface ParameterSubscriptionRequestOrBuilderpublic int getIdCount()
repeated .yamcs.protobuf.NamedObjectId id = 1;getIdCount in interface ParameterSubscriptionRequestOrBuilderpublic Yamcs.NamedObjectId getId(int index)
repeated .yamcs.protobuf.NamedObjectId id = 1;getId in interface ParameterSubscriptionRequestOrBuilderpublic Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(int index)
repeated .yamcs.protobuf.NamedObjectId id = 1;getIdOrBuilder in interface ParameterSubscriptionRequestOrBuilderpublic 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;hasAbortOnInvalid in interface ParameterSubscriptionRequestOrBuilderpublic 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;getAbortOnInvalid in interface ParameterSubscriptionRequestOrBuilderpublic 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;hasUpdateOnExpiration in interface ParameterSubscriptionRequestOrBuilderpublic 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;getUpdateOnExpiration in interface ParameterSubscriptionRequestOrBuilderpublic 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;hasSendFromCache in interface ParameterSubscriptionRequestOrBuilderpublic 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;getSendFromCache in interface ParameterSubscriptionRequestOrBuilderpublic 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;hasSubscriptionId in interface ParameterSubscriptionRequestOrBuilderpublic 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;getSubscriptionId in interface ParameterSubscriptionRequestOrBuilderpublic boolean hasUseNumericIds()
if set to true (higly recommended), a uint32 numeric id will be assigned to each parameter and will be sent back together with the value (instead of the NamedObjectId) this is done in order to reduce the bandwith used for transfering the parameter identifiers (since the NamedObjectId are quite long) Note that the numeric id is only unique on the websocket connection the ParameterSubscriptionResponse will contain the mapping id to NamedObjectId
optional bool useNumericIds = 6;hasUseNumericIds in interface ParameterSubscriptionRequestOrBuilderpublic boolean getUseNumericIds()
if set to true (higly recommended), a uint32 numeric id will be assigned to each parameter and will be sent back together with the value (instead of the NamedObjectId) this is done in order to reduce the bandwith used for transfering the parameter identifiers (since the NamedObjectId are quite long) Note that the numeric id is only unique on the websocket connection the ParameterSubscriptionResponse will contain the mapping id to NamedObjectId
optional bool useNumericIds = 6;getUseNumericIds in interface ParameterSubscriptionRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ParameterSubscriptionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ParameterSubscriptionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ParameterSubscriptionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ParameterSubscriptionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ParameterSubscriptionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ParameterSubscriptionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ParameterSubscriptionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ParameterSubscriptionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ParameterSubscriptionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ParameterSubscriptionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ParameterSubscriptionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ParameterSubscriptionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ParameterSubscriptionRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ParameterSubscriptionRequest.Builder newBuilder()
public static ParameterSubscriptionRequest.Builder newBuilder(ParameterSubscriptionRequest prototype)
public ParameterSubscriptionRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ParameterSubscriptionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ParameterSubscriptionRequest getDefaultInstance()
public static com.google.protobuf.Parser<ParameterSubscriptionRequest> parser()
public com.google.protobuf.Parser<ParameterSubscriptionRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ParameterSubscriptionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Space Applications Services. All rights reserved.