Package org.yamcs.protobuf
Class ParameterSubscriptionRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.yamcs.protobuf.ParameterSubscriptionRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,ParameterSubscriptionRequestOrBuilder
public final class ParameterSubscriptionRequest extends com.google.protobuf.GeneratedMessageV3 implements ParameterSubscriptionRequestOrBuilder
Protobuf typeyamcs.protobuf.web.ParameterSubscriptionRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParameterSubscriptionRequest.BuilderProtobuf typeyamcs.protobuf.web.ParameterSubscriptionRequest-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intABORTONINVALID_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic com.google.protobuf.Parser<ParameterSubscriptionRequest>PARSERDeprecated.static intSENDFROMCACHE_FIELD_NUMBERstatic intSUBSCRIPTIONID_FIELD_NUMBERstatic intUPDATEONEXPIRATION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAbortOnInvalid()if set to true, an error message will be sent back if any parameter from the list above is invalid by default is falsestatic ParameterSubscriptionRequestgetDefaultInstance()ParameterSubscriptionRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Yamcs.NamedObjectIdgetId(int index)repeated .yamcs.protobuf.NamedObjectId id = 1;intgetIdCount()repeated .yamcs.protobuf.NamedObjectId id = 1;List<Yamcs.NamedObjectId>getIdList()repeated .yamcs.protobuf.NamedObjectId id = 1;Yamcs.NamedObjectIdOrBuildergetIdOrBuilder(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()booleangetSendFromCache()if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updatedintgetSerializedSize()intgetSubscriptionId()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 idcom.google.protobuf.UnknownFieldSetgetUnknownFields()booleangetUpdateOnExpiration()if set to true, send parameter updates when parameters expire.booleanhasAbortOnInvalid()if set to true, an error message will be sent back if any parameter from the list above is invalid by default is falseinthashCode()booleanhasSendFromCache()if set to true (default), send a first batch of the parameters from cache if available otherwise just wait for the parameters to be updatedbooleanhasSubscriptionId()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 idbooleanhasUpdateOnExpiration()if set to true, send parameter updates when parameters expire.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ParameterSubscriptionRequest.BuildernewBuilder()static ParameterSubscriptionRequest.BuildernewBuilder(ParameterSubscriptionRequest prototype)ParameterSubscriptionRequest.BuildernewBuilderForType()protected ParameterSubscriptionRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)static ParameterSubscriptionRequestparseDelimitedFrom(InputStream input)static ParameterSubscriptionRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ParameterSubscriptionRequestparseFrom(byte[] data)static ParameterSubscriptionRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ParameterSubscriptionRequestparseFrom(com.google.protobuf.ByteString data)static ParameterSubscriptionRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ParameterSubscriptionRequestparseFrom(com.google.protobuf.CodedInputStream input)static ParameterSubscriptionRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ParameterSubscriptionRequestparseFrom(InputStream input)static ParameterSubscriptionRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ParameterSubscriptionRequestparseFrom(ByteBuffer data)static ParameterSubscriptionRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ParameterSubscriptionRequest>parser()ParameterSubscriptionRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ABORTONINVALID_FIELD_NUMBER
public static final int ABORTONINVALID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATEONEXPIRATION_FIELD_NUMBER
public static final int UPDATEONEXPIRATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SENDFROMCACHE_FIELD_NUMBER
public static final int SENDFROMCACHE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBSCRIPTIONID_FIELD_NUMBER
public static final int SUBSCRIPTIONID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<ParameterSubscriptionRequest> PARSER
Deprecated.
-
-
Method Detail
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getIdList
public List<Yamcs.NamedObjectId> getIdList()
repeated .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
getIdListin interfaceParameterSubscriptionRequestOrBuilder
-
getIdOrBuilderList
public List<? extends Yamcs.NamedObjectIdOrBuilder> getIdOrBuilderList()
repeated .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
getIdOrBuilderListin interfaceParameterSubscriptionRequestOrBuilder
-
getIdCount
public int getIdCount()
repeated .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
getIdCountin interfaceParameterSubscriptionRequestOrBuilder
-
getId
public Yamcs.NamedObjectId getId(int index)
repeated .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
getIdin interfaceParameterSubscriptionRequestOrBuilder
-
getIdOrBuilder
public Yamcs.NamedObjectIdOrBuilder getIdOrBuilder(int index)
repeated .yamcs.protobuf.NamedObjectId id = 1;- Specified by:
getIdOrBuilderin interfaceParameterSubscriptionRequestOrBuilder
-
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:
hasAbortOnInvalidin 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:
getAbortOnInvalidin interfaceParameterSubscriptionRequestOrBuilder
-
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:
hasUpdateOnExpirationin 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:
getUpdateOnExpirationin interfaceParameterSubscriptionRequestOrBuilder
-
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:
hasSendFromCachein 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:
getSendFromCachein interfaceParameterSubscriptionRequestOrBuilder
-
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 idoptional int32 subscriptionId = 5;- Specified by:
hasSubscriptionIdin 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 idoptional int32 subscriptionId = 5;- Specified by:
getSubscriptionIdin interfaceParameterSubscriptionRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ParameterSubscriptionRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ParameterSubscriptionRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ParameterSubscriptionRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ParameterSubscriptionRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ParameterSubscriptionRequest.Builder newBuilder()
-
newBuilder
public static ParameterSubscriptionRequest.Builder newBuilder(ParameterSubscriptionRequest prototype)
-
toBuilder
public ParameterSubscriptionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ParameterSubscriptionRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ParameterSubscriptionRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ParameterSubscriptionRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<ParameterSubscriptionRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ParameterSubscriptionRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-