Class KeyValueAppend.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<KeyValueAppend.Builder>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 Summary

    Modifier and Type
    Method
    Description
     
     
     
    Describes the action taken to append/overwrite the given value for an existing key or to only add this key if it's absent.
    Key/value pair entry that this option to append or overwrite.
    Describes the action taken to append/overwrite the given value for an existing key or to only add this key if it's absent.
    int
    Describes the action taken to append/overwrite the given value for an existing key or to only add this key if it's absent.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    Key/value pair entry that this option to append or overwrite.
    Key/value pair entry that this option to append or overwrite.
    Key/value pair entry that this option to append or overwrite.
    boolean
    Key/value pair entry that this option to append or overwrite.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    Key/value pair entry that this option to append or overwrite.
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    Describes the action taken to append/overwrite the given value for an existing key or to only add this key if it's absent.
    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.
    Key/value pair entry that this option to append or overwrite.
    setEntry(KeyValue.Builder builderForValue)
    Key/value pair entry that this option to append or overwrite.

    Methods 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, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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.GeneratedMessage.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
    • 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.GeneratedMessage.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
    • hasEntry

      public boolean hasEntry()
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.validate.rules) = { ... }
      Specified by:
      hasEntry in interface KeyValueAppendOrBuilder
      Returns:
      Whether the entry field is set.
    • getEntry

      public KeyValue getEntry()
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.validate.rules) = { ... }
      Specified by:
      getEntry in interface KeyValueAppendOrBuilder
      Returns:
      The entry.
    • setEntry

      public KeyValueAppend.Builder setEntry(KeyValue value)
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.validate.rules) = { ... }
    • setEntry

      public KeyValueAppend.Builder setEntry(KeyValue.Builder builderForValue)
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.validate.rules) = { ... }
    • mergeEntry

      public KeyValueAppend.Builder mergeEntry(KeyValue value)
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.validate.rules) = { ... }
    • clearEntry

      public KeyValueAppend.Builder clearEntry()
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.validate.rules) = { ... }
    • getEntryBuilder

      public KeyValue.Builder getEntryBuilder()
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.validate.rules) = { ... }
    • getEntryOrBuilder

      public KeyValueOrBuilder getEntryOrBuilder()
      Key/value pair entry that this option to append or overwrite.
      
      .envoy.config.core.v3.KeyValue entry = 1 [(.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.
      Throws:
      IllegalArgumentException - if UNRECOGNIZED is provided.
    • 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.