java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<WhenConditionInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<WhenConditionInfo.Builder>
org.yamcs.protobuf.config.WhenConditionInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,WhenConditionInfoOrBuilder
- Enclosing class:
WhenConditionInfo
public static final class WhenConditionInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<WhenConditionInfo.Builder>
implements WhenConditionInfoOrBuilder
Protobuf type
yamcs.protobuf.config.WhenConditionInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllRequiredKeys(Iterable<String> values) Option keys that must be specified, if the condition is satisfiedaddRequiredKeys(String value) Option keys that must be specified, if the condition is satisfiedaddRequiredKeysBytes(com.google.protobuf.ByteString value) Option keys that must be specified, if the condition is satisfiedbuild()clear()clearKey()Option key for checking the conditionOption keys that must be specified, if the condition is satisfiedValue to compare withstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKey()Option key for checking the conditioncom.google.protobuf.ByteStringOption key for checking the conditiongetRequiredKeys(int index) Option keys that must be specified, if the condition is satisfiedcom.google.protobuf.ByteStringgetRequiredKeysBytes(int index) Option keys that must be specified, if the condition is satisfiedintOption keys that must be specified, if the condition is satisfiedcom.google.protobuf.ProtocolStringListOption keys that must be specified, if the condition is satisfiedcom.google.protobuf.ValuegetValue()Value to compare withcom.google.protobuf.Value.BuilderValue to compare withcom.google.protobuf.ValueOrBuilderValue to compare withbooleanhasKey()Option key for checking the conditionbooleanhasValue()Value to compare withprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(WhenConditionInfo other) mergeValue(com.google.protobuf.Value value) Value to compare withOption key for checking the conditionsetKeyBytes(com.google.protobuf.ByteString value) Option key for checking the conditionsetRequiredKeys(int index, String value) Option keys that must be specified, if the condition is satisfiedsetValue(com.google.protobuf.Value value) Value to compare withsetValue(com.google.protobuf.Value.Builder builderForValue) Value to compare withMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<WhenConditionInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<WhenConditionInfo.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.GeneratedMessage.Builder<WhenConditionInfo.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
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WhenConditionInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<WhenConditionInfo.Builder>
-
mergeFrom
public WhenConditionInfo.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<WhenConditionInfo.Builder>- Throws:
IOException
-
hasKey
public boolean hasKey()Option key for checking the condition
optional string key = 1;- Specified by:
hasKeyin interfaceWhenConditionInfoOrBuilder- Returns:
- Whether the key field is set.
-
getKey
Option key for checking the condition
optional string key = 1;- Specified by:
getKeyin interfaceWhenConditionInfoOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()Option key for checking the condition
optional string key = 1;- Specified by:
getKeyBytesin interfaceWhenConditionInfoOrBuilder- Returns:
- The bytes for key.
-
setKey
Option key for checking the condition
optional string key = 1;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
clearKey
Option key for checking the condition
optional string key = 1;- Returns:
- This builder for chaining.
-
setKeyBytes
Option key for checking the condition
optional string key = 1;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue()Value to compare with
optional .google.protobuf.Value value = 2;- Specified by:
hasValuein interfaceWhenConditionInfoOrBuilder- Returns:
- Whether the value field is set.
-
getValue
public com.google.protobuf.Value getValue()Value to compare with
optional .google.protobuf.Value value = 2;- Specified by:
getValuein interfaceWhenConditionInfoOrBuilder- Returns:
- The value.
-
setValue
Value to compare with
optional .google.protobuf.Value value = 2; -
setValue
Value to compare with
optional .google.protobuf.Value value = 2; -
mergeValue
Value to compare with
optional .google.protobuf.Value value = 2; -
clearValue
Value to compare with
optional .google.protobuf.Value value = 2; -
getValueBuilder
public com.google.protobuf.Value.Builder getValueBuilder()Value to compare with
optional .google.protobuf.Value value = 2; -
getValueOrBuilder
public com.google.protobuf.ValueOrBuilder getValueOrBuilder()Value to compare with
optional .google.protobuf.Value value = 2;- Specified by:
getValueOrBuilderin interfaceWhenConditionInfoOrBuilder
-
getRequiredKeysList
public com.google.protobuf.ProtocolStringList getRequiredKeysList()Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Specified by:
getRequiredKeysListin interfaceWhenConditionInfoOrBuilder- Returns:
- A list containing the requiredKeys.
-
getRequiredKeysCount
public int getRequiredKeysCount()Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Specified by:
getRequiredKeysCountin interfaceWhenConditionInfoOrBuilder- Returns:
- The count of requiredKeys.
-
getRequiredKeys
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Specified by:
getRequiredKeysin interfaceWhenConditionInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The requiredKeys at the given index.
-
getRequiredKeysBytes
public com.google.protobuf.ByteString getRequiredKeysBytes(int index) Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Specified by:
getRequiredKeysBytesin interfaceWhenConditionInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the requiredKeys at the given index.
-
setRequiredKeys
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Parameters:
index- The index to set the value at.value- The requiredKeys to set.- Returns:
- This builder for chaining.
-
addRequiredKeys
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Parameters:
value- The requiredKeys to add.- Returns:
- This builder for chaining.
-
addAllRequiredKeys
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Parameters:
values- The requiredKeys to add.- Returns:
- This builder for chaining.
-
clearRequiredKeys
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Returns:
- This builder for chaining.
-
addRequiredKeysBytes
Option keys that must be specified, if the condition is satisfied
repeated string requiredKeys = 3;- Parameters:
value- The bytes of the requiredKeys to add.- Returns:
- This builder for chaining.
-