java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetParameterResponse.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
org.yamcs.sle.api.GetParameterResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,GetParameterResponseOrBuilder
- Enclosing class:
GetParameterResponse
public static final class GetParameterResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
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-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()optional string error = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) optional int32 intValue = 3;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.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Parameter nameoptional string stringValue = 5;clone()static final com.google.protobuf.Descriptors.Descriptorcom.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 nameoptional string stringValue = 5;com.google.protobuf.ByteStringoptional string stringValue = 5;booleanhasError()optional string error = 2;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 booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(GetParameterResponse other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) optional string error = 2;setErrorBytes(com.google.protobuf.ByteString value) optional string error = 2;setIntValue(int value) optional int32 intValue = 3;setLongValue(long value) 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.setParameterName(String value) Parameter namesetParameterNameBytes(com.google.protobuf.ByteString value) Parameter namesetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStringValue(String value) optional string stringValue = 5;setStringValueBytes(com.google.protobuf.ByteString value) optional string stringValue = 5;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
setField
public GetParameterResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
clearField
public GetParameterResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
clearOneof
public GetParameterResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
setRepeatedField
public GetParameterResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
addRepeatedField
public GetParameterResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetParameterResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
mergeFrom
public GetParameterResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetParameterResponse.Builder>- Throws:
IOException
-
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.
-
setParameterName
Parameter name
optional string parameterName = 1;- Parameters:
value- The parameterName to set.- Returns:
- This builder for chaining.
-
clearParameterName
Parameter name
optional string parameterName = 1;- Returns:
- This builder for chaining.
-
setParameterNameBytes
Parameter name
optional string parameterName = 1;- Parameters:
value- The bytes for parameterName to set.- Returns:
- This builder for chaining.
-
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.
-
setError
optional string error = 2;- Parameters:
value- The error to set.- Returns:
- This builder for chaining.
-
clearError
optional string error = 2;- Returns:
- This builder for chaining.
-
setErrorBytes
optional string error = 2;- Parameters:
value- The bytes for error to set.- Returns:
- This builder for chaining.
-
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.
-
setIntValue
optional int32 intValue = 3;- Parameters:
value- The intValue to set.- Returns:
- This builder for chaining.
-
clearIntValue
optional int32 intValue = 3;- Returns:
- This builder for chaining.
-
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.
-
setLongValue
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;- Parameters:
value- The longValue to set.- Returns:
- This builder for chaining.
-
clearLongValue
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;- Returns:
- This builder for chaining.
-
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.
-
setStringValue
optional string stringValue = 5;- Parameters:
value- The stringValue to set.- Returns:
- This builder for chaining.
-
clearStringValue
optional string stringValue = 5;- Returns:
- This builder for chaining.
-
setStringValueBytes
optional string stringValue = 5;- Parameters:
value- The bytes for stringValue to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final GetParameterResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-
mergeUnknownFields
public final GetParameterResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<GetParameterResponse.Builder>
-