Class WhenConditionInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<WhenConditionInfo.Builder> implements WhenConditionInfoOrBuilder
Protobuf type yamcs.protobuf.config.WhenConditionInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • clear

      public WhenConditionInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • getDefaultInstanceForType

      public WhenConditionInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public WhenConditionInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public WhenConditionInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public WhenConditionInfo.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • setField

      public WhenConditionInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • clearField

      public WhenConditionInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • clearOneof

      public WhenConditionInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • setRepeatedField

      public WhenConditionInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • addRepeatedField

      public WhenConditionInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • mergeFrom

      public WhenConditionInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WhenConditionInfo.Builder>
    • mergeFrom

      public WhenConditionInfo.Builder mergeFrom(WhenConditionInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • mergeFrom

      public WhenConditionInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<WhenConditionInfo.Builder>
      Throws:
      IOException
    • hasKey

      public boolean hasKey()
       Option key for checking the condition
       
      optional string key = 1;
      Specified by:
      hasKey in interface WhenConditionInfoOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public String getKey()
       Option key for checking the condition
       
      optional string key = 1;
      Specified by:
      getKey in interface WhenConditionInfoOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
       Option key for checking the condition
       
      optional string key = 1;
      Specified by:
      getKeyBytes in interface WhenConditionInfoOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public WhenConditionInfo.Builder setKey(String value)
       Option key for checking the condition
       
      optional string key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public WhenConditionInfo.Builder clearKey()
       Option key for checking the condition
       
      optional string key = 1;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public WhenConditionInfo.Builder setKeyBytes(com.google.protobuf.ByteString value)
       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:
      hasValue in interface WhenConditionInfoOrBuilder
      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:
      getValue in interface WhenConditionInfoOrBuilder
      Returns:
      The value.
    • setValue

      public WhenConditionInfo.Builder setValue(com.google.protobuf.Value value)
       Value to compare with
       
      optional .google.protobuf.Value value = 2;
    • setValue

      public WhenConditionInfo.Builder setValue(com.google.protobuf.Value.Builder builderForValue)
       Value to compare with
       
      optional .google.protobuf.Value value = 2;
    • mergeValue

      public WhenConditionInfo.Builder mergeValue(com.google.protobuf.Value value)
       Value to compare with
       
      optional .google.protobuf.Value value = 2;
    • clearValue

      public WhenConditionInfo.Builder 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:
      getValueOrBuilder in interface WhenConditionInfoOrBuilder
    • getRequiredKeysList

      public com.google.protobuf.ProtocolStringList getRequiredKeysList()
       Option keys that must be specified, if the condition is satisfied
       
      repeated string requiredKeys = 3;
      Specified by:
      getRequiredKeysList in interface WhenConditionInfoOrBuilder
      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:
      getRequiredKeysCount in interface WhenConditionInfoOrBuilder
      Returns:
      The count of requiredKeys.
    • getRequiredKeys

      public String getRequiredKeys(int index)
       Option keys that must be specified, if the condition is satisfied
       
      repeated string requiredKeys = 3;
      Specified by:
      getRequiredKeys in interface WhenConditionInfoOrBuilder
      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:
      getRequiredKeysBytes in interface WhenConditionInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the requiredKeys at the given index.
    • setRequiredKeys

      public WhenConditionInfo.Builder setRequiredKeys(int index, String value)
       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

      public WhenConditionInfo.Builder addRequiredKeys(String value)
       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

      public WhenConditionInfo.Builder addAllRequiredKeys(Iterable<String> values)
       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

      public WhenConditionInfo.Builder clearRequiredKeys()
       Option keys that must be specified, if the condition is satisfied
       
      repeated string requiredKeys = 3;
      Returns:
      This builder for chaining.
    • addRequiredKeysBytes

      public WhenConditionInfo.Builder addRequiredKeysBytes(com.google.protobuf.ByteString value)
       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.
    • setUnknownFields

      public final WhenConditionInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>
    • mergeUnknownFields

      public final WhenConditionInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<WhenConditionInfo.Builder>