Class RouteAction.HashPolicy.QueryParameter.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • name_

        private java.lang.Object name_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • 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>
      • 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

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

        public RouteAction.HashPolicy.QueryParameter buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • 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 java.io.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:
        java.io.IOException
      • getName

        public java.lang.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

        public RouteAction.HashPolicy.QueryParameter.Builder setName​(java.lang.String 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 name to set.
        Returns:
        This builder for chaining.
      • clearName

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