Package org.yamcs.protobuf.config
Interface WhenConditionInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WhenConditionInfo
,WhenConditionInfo.Builder
public interface WhenConditionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Option key for checking the conditioncom.google.protobuf.ByteString
Option key for checking the conditiongetRequiredKeys
(int index) Option keys that must be specified, if the condition is satisfiedcom.google.protobuf.ByteString
getRequiredKeysBytes
(int index) Option keys that must be specified, if the condition is satisfiedint
Option keys that must be specified, if the condition is satisfiedOption keys that must be specified, if the condition is satisfiedcom.google.protobuf.Value
getValue()
Value to compare withcom.google.protobuf.ValueOrBuilder
Value to compare withboolean
hasKey()
Option key for checking the conditionboolean
hasValue()
Value to compare withMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasKey
boolean hasKey()Option key for checking the condition
optional string key = 1;
- Returns:
- Whether the key field is set.
-
getKey
String getKey()Option key for checking the condition
optional string key = 1;
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Option key for checking the condition
optional string key = 1;
- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()Value to compare with
optional .google.protobuf.Value value = 2;
- Returns:
- Whether the value field is set.
-
getValue
com.google.protobuf.Value getValue()Value to compare with
optional .google.protobuf.Value value = 2;
- Returns:
- The value.
-
getValueOrBuilder
com.google.protobuf.ValueOrBuilder getValueOrBuilder()Value to compare with
optional .google.protobuf.Value value = 2;
-
getRequiredKeysList
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;
- Returns:
- A list containing the requiredKeys.
-
getRequiredKeysCount
int getRequiredKeysCount()Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;
- Returns:
- The count of requiredKeys.
-
getRequiredKeys
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;
- Parameters:
index
- The index of the element to return.- Returns:
- The requiredKeys at the given index.
-
getRequiredKeysBytes
com.google.protobuf.ByteString getRequiredKeysBytes(int index) Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the requiredKeys at the given index.
-