Class RouteAction.HashPolicy.QueryParameter.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RouteAction.HashPolicy.QueryParameter.Builder>
com.google.protobuf.GeneratedMessage.Builder<RouteAction.HashPolicy.QueryParameter.Builder>
io.envoyproxy.envoy.config.route.v3.RouteAction.HashPolicy.QueryParameter.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RouteAction.HashPolicy.QueryParameterOrBuilder, Cloneable
Enclosing class:
RouteAction.HashPolicy.QueryParameter

public static final class RouteAction.HashPolicy.QueryParameter.Builder extends com.google.protobuf.GeneratedMessage.Builder<RouteAction.HashPolicy.QueryParameter.Builder> implements RouteAction.HashPolicy.QueryParameterOrBuilder
Protobuf type envoy.config.route.v3.RouteAction.HashPolicy.QueryParameter
  • Field Details

    • bitField0_

      private int bitField0_
    • name_

      private Object name_
  • Constructor Details

    • Builder

      private Builder()
    • Builder

      private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
  • 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<RouteAction.HashPolicy.QueryParameter.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<RouteAction.HashPolicy.QueryParameter.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<RouteAction.HashPolicy.QueryParameter.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • buildPartial0

      private void buildPartial0(RouteAction.HashPolicy.QueryParameter result)
    • mergeFrom

      public RouteAction.HashPolicy.QueryParameter.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<RouteAction.HashPolicy.QueryParameter.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RouteAction.HashPolicy.QueryParameter.Builder>
    • mergeFrom

      public RouteAction.HashPolicy.QueryParameter.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<RouteAction.HashPolicy.QueryParameter.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       The name of the URL query parameter that will be used to obtain the hash
       key. If the parameter is not present, no hash will be produced. Query
       parameter names are case-sensitive. If query parameters are repeated, only
       the first value will be considered.
       
      string name = 1 [(.validate.rules) = { ... }
      Specified by:
      getName in interface RouteAction.HashPolicy.QueryParameterOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of the URL query parameter that will be used to obtain the hash
       key. If the parameter is not present, no hash will be produced. Query
       parameter names are case-sensitive. If query parameters are repeated, only
       the first value will be considered.
       
      string name = 1 [(.validate.rules) = { ... }
      Specified by:
      getNameBytes in interface RouteAction.HashPolicy.QueryParameterOrBuilder
      Returns:
      The bytes for name.
    • setName

       The name of the URL query parameter that will be used to obtain the hash
       key. If the parameter is not present, no hash will be produced. Query
       parameter names are case-sensitive. If query parameters are repeated, only
       the first value will be considered.
       
      string name = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       The name of the URL query parameter that will be used to obtain the hash
       key. If the parameter is not present, no hash will be produced. Query
       parameter names are case-sensitive. If query parameters are repeated, only
       the first value will be considered.
       
      string name = 1 [(.validate.rules) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public RouteAction.HashPolicy.QueryParameter.Builder setNameBytes(com.google.protobuf.ByteString value)
       The name of the URL query parameter that will be used to obtain the hash
       key. If the parameter is not present, no hash will be produced. Query
       parameter names are case-sensitive. If query parameters are repeated, only
       the first value will be considered.
       
      string name = 1 [(.validate.rules) = { ... }
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.