Class RouteAction.HashPolicy.QueryParameter.Builder

    • Method Detail

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

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