public static final class Web.ParameterSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3 implements Web.ParameterSubscriptionRequestOrBuilder
Used for parameter subscription and unsubscription.Protobuf type
web.ParameterSubscriptionRequest| Modifier and Type | Class and Description |
|---|---|
static class |
Web.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 int |
LIST_FIELD_NUMBER |
static com.google.protobuf.Parser<Web.ParameterSubscriptionRequest> |
PARSER
Deprecated.
|
static int |
SENDFROMCACHE_FIELD_NUMBER |
static int |
SUBSCRIPTIONID_FIELD_NUMBER |
static int |
UPDATEONEXPIRATION_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
|
static Web.ParameterSubscriptionRequest |
getDefaultInstance() |
Web.ParameterSubscriptionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Yamcs.NamedObjectId |
getId(int index)
repeated .yamcs.NamedObjectId id = 1; |
int |
getIdCount()
repeated .yamcs.NamedObjectId id = 1; |
List<Yamcs.NamedObjectId> |
getIdList()
repeated .yamcs.NamedObjectId id = 1; |
Yamcs.NamedObjectIdOrBuilder |
getIdOrBuilder(int index)
repeated .yamcs.NamedObjectId id = 1; |
List<? extends Yamcs.NamedObjectIdOrBuilder> |
getIdOrBuilderList()
repeated .yamcs.NamedObjectId id = 1; |
Yamcs.NamedObjectId |
getList(int index)
Deprecated.
|
int |
getListCount()
Deprecated.
|
List<Yamcs.NamedObjectId> |
getListList()
Deprecated.
|
Yamcs.NamedObjectIdOrBuilder |
getListOrBuilder(int index)
Deprecated.
|
List<? extends Yamcs.NamedObjectIdOrBuilder> |
getListOrBuilderList()
Deprecated.
|
com.google.protobuf.Parser<Web.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
|
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
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
getUpdateOnExpiration()
if set to true, send parameter updates when parameters expire.
|
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
|
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
|
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
|
boolean |
hasUpdateOnExpiration()
if set to true, send parameter updates when parameters expire.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Web.ParameterSubscriptionRequest.Builder |
newBuilder() |
static Web.ParameterSubscriptionRequest.Builder |
newBuilder(Web.ParameterSubscriptionRequest prototype) |
Web.ParameterSubscriptionRequest.Builder |
newBuilderForType() |
protected Web.ParameterSubscriptionRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Web.ParameterSubscriptionRequest |
parseDelimitedFrom(InputStream input) |
static Web.ParameterSubscriptionRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.ParameterSubscriptionRequest |
parseFrom(byte[] data) |
static Web.ParameterSubscriptionRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Web.ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Web.ParameterSubscriptionRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Web.ParameterSubscriptionRequest |
parseFrom(InputStream input) |
static Web.ParameterSubscriptionRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Web.ParameterSubscriptionRequest> |
parser() |
Web.ParameterSubscriptionRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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 LIST_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Web.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.NamedObjectId id = 1;getIdList in interface Web.ParameterSubscriptionRequestOrBuilderpublic List<? extends Yamcs.NamedObjectIdOrBuilder> getIdOrBuilderList()
repeated .yamcs.NamedObjectId id = 1;getIdOrBuilderList in interface Web.ParameterSubscriptionRequestOrBuilderpublic int getIdCount()
repeated .yamcs.NamedObjectId id = 1;getIdCount in interface Web.ParameterSubscriptionRequestOrBuilderpublic Yamcs.NamedObjectId getId(int index)
repeated .yamcs.NamedObjectId id = 1;getId in interface Web.ParameterSubscriptionRequestOrBuilderpublic Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(int index)
repeated .yamcs.NamedObjectId id = 1;getIdOrBuilder in interface Web.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 Web.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 Web.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 Web.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 Web.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 Web.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 Web.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 Web.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 Web.ParameterSubscriptionRequestOrBuilder@Deprecated public List<Yamcs.NamedObjectId> getListList()
Hack to allow the old subscribe with NamedObjectList to work when json is used. When protobuf is used, the "id" will work since it uses the same field id (1) with the "list" from NamedObjectList remove this field when we are sure nobody uses the old method
repeated .yamcs.NamedObjectId list = 10000 [deprecated = true];getListList in interface Web.ParameterSubscriptionRequestOrBuilder@Deprecated public List<? extends Yamcs.NamedObjectIdOrBuilder> getListOrBuilderList()
Hack to allow the old subscribe with NamedObjectList to work when json is used. When protobuf is used, the "id" will work since it uses the same field id (1) with the "list" from NamedObjectList remove this field when we are sure nobody uses the old method
repeated .yamcs.NamedObjectId list = 10000 [deprecated = true];getListOrBuilderList in interface Web.ParameterSubscriptionRequestOrBuilder@Deprecated public int getListCount()
Hack to allow the old subscribe with NamedObjectList to work when json is used. When protobuf is used, the "id" will work since it uses the same field id (1) with the "list" from NamedObjectList remove this field when we are sure nobody uses the old method
repeated .yamcs.NamedObjectId list = 10000 [deprecated = true];getListCount in interface Web.ParameterSubscriptionRequestOrBuilder@Deprecated public Yamcs.NamedObjectId getList(int index)
Hack to allow the old subscribe with NamedObjectList to work when json is used. When protobuf is used, the "id" will work since it uses the same field id (1) with the "list" from NamedObjectList remove this field when we are sure nobody uses the old method
repeated .yamcs.NamedObjectId list = 10000 [deprecated = true];getList in interface Web.ParameterSubscriptionRequestOrBuilder@Deprecated public Yamcs.NamedObjectIdOrBuilder getListOrBuilder(int index)
Hack to allow the old subscribe with NamedObjectList to work when json is used. When protobuf is used, the "id" will work since it uses the same field id (1) with the "list" from NamedObjectList remove this field when we are sure nobody uses the old method
repeated .yamcs.NamedObjectId list = 10000 [deprecated = true];getListOrBuilder in interface Web.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 Web.ParameterSubscriptionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.ParameterSubscriptionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.ParameterSubscriptionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.ParameterSubscriptionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Web.ParameterSubscriptionRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Web.ParameterSubscriptionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Web.ParameterSubscriptionRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Web.ParameterSubscriptionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Web.ParameterSubscriptionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Web.ParameterSubscriptionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Web.ParameterSubscriptionRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Web.ParameterSubscriptionRequest.Builder newBuilder()
public static Web.ParameterSubscriptionRequest.Builder newBuilder(Web.ParameterSubscriptionRequest prototype)
public Web.ParameterSubscriptionRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Web.ParameterSubscriptionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Web.ParameterSubscriptionRequest getDefaultInstance()
public static com.google.protobuf.Parser<Web.ParameterSubscriptionRequest> parser()
public com.google.protobuf.Parser<Web.ParameterSubscriptionRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Web.ParameterSubscriptionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018 Space Applications Services. All rights reserved.