Class KeyValueAppend.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<KeyValueAppend.Builder>
io.envoyproxy.envoy.config.core.v3.KeyValueAppend.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, KeyValueAppendOrBuilder, Cloneable
Enclosing class:
KeyValueAppend

public static final class KeyValueAppend.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KeyValueAppend.Builder> implements KeyValueAppendOrBuilder
 Key/value pair plus option to control append behavior. This is used to specify
 key/value pairs that should be appended to a set of existing key/value pairs.
 
Protobuf type envoy.config.core.v3.KeyValueAppend
  • 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<KeyValueAppend.Builder>
    • clear

      public KeyValueAppend.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<KeyValueAppend.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<KeyValueAppend.Builder>
    • getDefaultInstanceForType

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

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

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

      public KeyValueAppend.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<KeyValueAppend.Builder>
    • setField

      public KeyValueAppend.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<KeyValueAppend.Builder>
    • clearField

      public KeyValueAppend.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<KeyValueAppend.Builder>
    • clearOneof

      public KeyValueAppend.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<KeyValueAppend.Builder>
    • setRepeatedField

      public KeyValueAppend.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<KeyValueAppend.Builder>
    • addRepeatedField

      public KeyValueAppend.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<KeyValueAppend.Builder>
    • mergeFrom

      public KeyValueAppend.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<KeyValueAppend.Builder>
    • mergeFrom

      public KeyValueAppend.Builder mergeFrom(KeyValueAppend other)
    • isInitialized

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

      public KeyValueAppend.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<KeyValueAppend.Builder>
      Throws:
      IOException
    • hasRecord

      public boolean hasRecord()
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
      Specified by:
      hasRecord in interface KeyValueAppendOrBuilder
      Returns:
      Whether the record field is set.
    • getRecord

      public KeyValuePair getRecord()
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
      Specified by:
      getRecord in interface KeyValueAppendOrBuilder
      Returns:
      The record.
    • setRecord

      public KeyValueAppend.Builder setRecord(KeyValuePair value)
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
    • setRecord

      public KeyValueAppend.Builder setRecord(KeyValuePair.Builder builderForValue)
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
    • mergeRecord

      public KeyValueAppend.Builder mergeRecord(KeyValuePair value)
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
    • clearRecord

      public KeyValueAppend.Builder clearRecord()
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
    • getRecordBuilder

      public KeyValuePair.Builder getRecordBuilder()
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
    • getRecordOrBuilder

      public KeyValuePairOrBuilder getRecordOrBuilder()
       The single key/value pair record to be appended or overridden. This field must be set.
       
      .envoy.config.core.v3.KeyValuePair record = 3;
      Specified by:
      getRecordOrBuilder in interface KeyValueAppendOrBuilder
    • hasEntry

      @Deprecated public boolean hasEntry()
      Deprecated.
      envoy.config.core.v3.KeyValueAppend.entry is deprecated. See envoy/config/core/v3/base.proto;l=367
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
      Specified by:
      hasEntry in interface KeyValueAppendOrBuilder
      Returns:
      Whether the entry field is set.
    • getEntry

      @Deprecated public KeyValue getEntry()
      Deprecated.
      envoy.config.core.v3.KeyValueAppend.entry is deprecated. See envoy/config/core/v3/base.proto;l=367
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
      Specified by:
      getEntry in interface KeyValueAppendOrBuilder
      Returns:
      The entry.
    • setEntry

      @Deprecated public KeyValueAppend.Builder setEntry(KeyValue value)
      Deprecated.
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
    • setEntry

      @Deprecated public KeyValueAppend.Builder setEntry(KeyValue.Builder builderForValue)
      Deprecated.
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
    • mergeEntry

      @Deprecated public KeyValueAppend.Builder mergeEntry(KeyValue value)
      Deprecated.
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
    • clearEntry

      @Deprecated public KeyValueAppend.Builder clearEntry()
      Deprecated.
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
    • getEntryBuilder

      @Deprecated public KeyValue.Builder getEntryBuilder()
      Deprecated.
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
    • getEntryOrBuilder

      @Deprecated public KeyValueOrBuilder getEntryOrBuilder()
      Deprecated.
       Key/value pair entry that this option to append or overwrite. This field is deprecated
       and please use :ref:`record <envoy_v3_api_field_config.core.v3.KeyValueAppend.record>`
       as replacement.
       [#not-implemented-hide:]
       
      .envoy.config.core.v3.KeyValue entry = 1 [deprecated = true, (.validate.rules) = { ... }
      Specified by:
      getEntryOrBuilder in interface KeyValueAppendOrBuilder
    • getActionValue

      public int getActionValue()
       Describes the action taken to append/overwrite the given value for an existing
       key or to only add this key if it's absent.
       
      .envoy.config.core.v3.KeyValueAppend.KeyValueAppendAction action = 2 [(.validate.rules) = { ... }
      Specified by:
      getActionValue in interface KeyValueAppendOrBuilder
      Returns:
      The enum numeric value on the wire for action.
    • setActionValue

      public KeyValueAppend.Builder setActionValue(int value)
       Describes the action taken to append/overwrite the given value for an existing
       key or to only add this key if it's absent.
       
      .envoy.config.core.v3.KeyValueAppend.KeyValueAppendAction action = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The enum numeric value on the wire for action to set.
      Returns:
      This builder for chaining.
    • getAction

       Describes the action taken to append/overwrite the given value for an existing
       key or to only add this key if it's absent.
       
      .envoy.config.core.v3.KeyValueAppend.KeyValueAppendAction action = 2 [(.validate.rules) = { ... }
      Specified by:
      getAction in interface KeyValueAppendOrBuilder
      Returns:
      The action.
    • setAction

       Describes the action taken to append/overwrite the given value for an existing
       key or to only add this key if it's absent.
       
      .envoy.config.core.v3.KeyValueAppend.KeyValueAppendAction action = 2 [(.validate.rules) = { ... }
      Parameters:
      value - The action to set.
      Returns:
      This builder for chaining.
    • clearAction

      public KeyValueAppend.Builder clearAction()
       Describes the action taken to append/overwrite the given value for an existing
       key or to only add this key if it's absent.
       
      .envoy.config.core.v3.KeyValueAppend.KeyValueAppendAction action = 2 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final KeyValueAppend.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<KeyValueAppend.Builder>
    • mergeUnknownFields

      public final KeyValueAppend.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<KeyValueAppend.Builder>