java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.sle.api.GetParameterResponse
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,GetParameterResponseOrBuilder
public final class GetParameterResponse
extends com.google.protobuf.GeneratedMessageV3
implements GetParameterResponseOrBuilder
The parameter response contains the parameter name and the value. The value can be of different types depending on the parameter. If the parameter is not available on the provider or if the link is not connected, the error field will be populated (if the parameter name is not correct, an HTTP 400 'Bad Request' error is returned instead). The parameter value returned by the provider may be null. In this case the response will contain only the parameter name with no other field populatedProtobuf type
yamcs.protobuf.sle.GetParameterResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe parameter response contains the parameter name and the value.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final com.google.protobuf.Parser<GetParameterResponse> Deprecated.static final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic GetParameterResponsestatic final com.google.protobuf.Descriptors.DescriptorgetError()optional string error = 2;com.google.protobuf.ByteStringoptional string error = 2;intoptional int32 intValue = 3;longthe long value is used for the 32 bits unsigned parameters The only parameter of that type is the CLTU minimumDelayTime which is the minimum guard time the F-CLTU provider will accept between two consecutive CLTUs.Parameter namecom.google.protobuf.ByteStringParameter namecom.google.protobuf.Parser<GetParameterResponse> intoptional string stringValue = 5;com.google.protobuf.ByteStringoptional string stringValue = 5;final com.google.protobuf.UnknownFieldSetbooleanhasError()optional string error = 2;inthashCode()booleanoptional int32 intValue = 3;booleanthe long value is used for the 32 bits unsigned parameters The only parameter of that type is the CLTU minimumDelayTime which is the minimum guard time the F-CLTU provider will accept between two consecutive CLTUs.booleanParameter namebooleanoptional string stringValue = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic GetParameterResponse.Builderstatic GetParameterResponse.BuildernewBuilder(GetParameterResponse prototype) protected GetParameterResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static GetParameterResponseparseDelimitedFrom(InputStream input) static GetParameterResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterResponseparseFrom(byte[] data) static GetParameterResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterResponseparseFrom(com.google.protobuf.ByteString data) static GetParameterResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterResponseparseFrom(com.google.protobuf.CodedInputStream input) static GetParameterResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterResponseparseFrom(InputStream input) static GetParameterResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static GetParameterResponseparseFrom(ByteBuffer data) static GetParameterResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GetParameterResponse> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
PARAMETERNAME_FIELD_NUMBER
public static final int PARAMETERNAME_FIELD_NUMBER- See Also:
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER- See Also:
-
INTVALUE_FIELD_NUMBER
public static final int INTVALUE_FIELD_NUMBER- See Also:
-
LONGVALUE_FIELD_NUMBER
public static final int LONGVALUE_FIELD_NUMBER- See Also:
-
STRINGVALUE_FIELD_NUMBER
public static final int STRINGVALUE_FIELD_NUMBER- See Also:
-
PARSER
Deprecated.
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasParameterName
public boolean hasParameterName()Parameter name
optional string parameterName = 1;- Specified by:
hasParameterNamein interfaceGetParameterResponseOrBuilder- Returns:
- Whether the parameterName field is set.
-
getParameterName
Parameter name
optional string parameterName = 1;- Specified by:
getParameterNamein interfaceGetParameterResponseOrBuilder- Returns:
- The parameterName.
-
getParameterNameBytes
public com.google.protobuf.ByteString getParameterNameBytes()Parameter name
optional string parameterName = 1;- Specified by:
getParameterNameBytesin interfaceGetParameterResponseOrBuilder- Returns:
- The bytes for parameterName.
-
hasError
public boolean hasError()optional string error = 2;- Specified by:
hasErrorin interfaceGetParameterResponseOrBuilder- Returns:
- Whether the error field is set.
-
getError
optional string error = 2;- Specified by:
getErrorin interfaceGetParameterResponseOrBuilder- Returns:
- The error.
-
getErrorBytes
public com.google.protobuf.ByteString getErrorBytes()optional string error = 2;- Specified by:
getErrorBytesin interfaceGetParameterResponseOrBuilder- Returns:
- The bytes for error.
-
hasIntValue
public boolean hasIntValue()optional int32 intValue = 3;- Specified by:
hasIntValuein interfaceGetParameterResponseOrBuilder- Returns:
- Whether the intValue field is set.
-
getIntValue
public int getIntValue()optional int32 intValue = 3;- Specified by:
getIntValuein interfaceGetParameterResponseOrBuilder- Returns:
- The intValue.
-
hasLongValue
public boolean hasLongValue()the long value is used for the 32 bits unsigned parameters The only parameter of that type is the CLTU minimumDelayTime which is the minimum guard time the F-CLTU provider will accept between two consecutive CLTUs. It is very likely that the value will be small enough (2147 seconds) to fit into the intValue which means that the longValue will most certainly never be used.
optional int64 longValue = 4;- Specified by:
hasLongValuein interfaceGetParameterResponseOrBuilder- Returns:
- Whether the longValue field is set.
-
getLongValue
public long getLongValue()the long value is used for the 32 bits unsigned parameters The only parameter of that type is the CLTU minimumDelayTime which is the minimum guard time the F-CLTU provider will accept between two consecutive CLTUs. It is very likely that the value will be small enough (2147 seconds) to fit into the intValue which means that the longValue will most certainly never be used.
optional int64 longValue = 4;- Specified by:
getLongValuein interfaceGetParameterResponseOrBuilder- Returns:
- The longValue.
-
hasStringValue
public boolean hasStringValue()optional string stringValue = 5;- Specified by:
hasStringValuein interfaceGetParameterResponseOrBuilder- Returns:
- Whether the stringValue field is set.
-
getStringValue
optional string stringValue = 5;- Specified by:
getStringValuein interfaceGetParameterResponseOrBuilder- Returns:
- The stringValue.
-
getStringValueBytes
public com.google.protobuf.ByteString getStringValueBytes()optional string stringValue = 5;- Specified by:
getStringValueBytesin interfaceGetParameterResponseOrBuilder- Returns:
- The bytes for stringValue.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 GetParameterResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GetParameterResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GetParameterResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static GetParameterResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GetParameterResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GetParameterResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GetParameterResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-