Interface ParameterDefinitionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ParameterDefinition, ParameterDefinition.Builder

    public interface ParameterDefinitionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Name of the parameter.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the parameter.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getParameterTypeValue

        int getParameterTypeValue()
         Data type of the parameter. Minimal value, Maximum value and allowed values
         will use specified data type here.
         
        .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2;
        Returns:
        The enum numeric value on the wire for parameterType.
      • getParameterType

        ParameterDefinition.ParameterType getParameterType()
         Data type of the parameter. Minimal value, Maximum value and allowed values
         will use specified data type here.
         
        .google.cloud.channel.v1.ParameterDefinition.ParameterType parameter_type = 2;
        Returns:
        The parameterType.
      • hasMinValue

        boolean hasMinValue()
         Minimal value of the parameter, if applicable. Inclusive. For example,
         minimal commitment when purchasing Anthos is 0.01.
         Applicable to INT64 and DOUBLE parameter types.
         
        .google.cloud.channel.v1.Value min_value = 3;
        Returns:
        Whether the minValue field is set.
      • getMinValue

        Value getMinValue()
         Minimal value of the parameter, if applicable. Inclusive. For example,
         minimal commitment when purchasing Anthos is 0.01.
         Applicable to INT64 and DOUBLE parameter types.
         
        .google.cloud.channel.v1.Value min_value = 3;
        Returns:
        The minValue.
      • getMinValueOrBuilder

        ValueOrBuilder getMinValueOrBuilder()
         Minimal value of the parameter, if applicable. Inclusive. For example,
         minimal commitment when purchasing Anthos is 0.01.
         Applicable to INT64 and DOUBLE parameter types.
         
        .google.cloud.channel.v1.Value min_value = 3;
      • hasMaxValue

        boolean hasMaxValue()
         Maximum value of the parameter, if applicable. Inclusive. For example,
         maximum seats when purchasing Google Workspace Business Standard.
         Applicable to INT64 and DOUBLE parameter types.
         
        .google.cloud.channel.v1.Value max_value = 4;
        Returns:
        Whether the maxValue field is set.
      • getMaxValue

        Value getMaxValue()
         Maximum value of the parameter, if applicable. Inclusive. For example,
         maximum seats when purchasing Google Workspace Business Standard.
         Applicable to INT64 and DOUBLE parameter types.
         
        .google.cloud.channel.v1.Value max_value = 4;
        Returns:
        The maxValue.
      • getMaxValueOrBuilder

        ValueOrBuilder getMaxValueOrBuilder()
         Maximum value of the parameter, if applicable. Inclusive. For example,
         maximum seats when purchasing Google Workspace Business Standard.
         Applicable to INT64 and DOUBLE parameter types.
         
        .google.cloud.channel.v1.Value max_value = 4;
      • getAllowedValuesList

        List<Value> getAllowedValuesList()
         If not empty, parameter values must be drawn from this list.
         For example, [us-west1, us-west2, ...]
         Applicable to STRING parameter type.
         
        repeated .google.cloud.channel.v1.Value allowed_values = 5;
      • getAllowedValues

        Value getAllowedValues​(int index)
         If not empty, parameter values must be drawn from this list.
         For example, [us-west1, us-west2, ...]
         Applicable to STRING parameter type.
         
        repeated .google.cloud.channel.v1.Value allowed_values = 5;
      • getAllowedValuesCount

        int getAllowedValuesCount()
         If not empty, parameter values must be drawn from this list.
         For example, [us-west1, us-west2, ...]
         Applicable to STRING parameter type.
         
        repeated .google.cloud.channel.v1.Value allowed_values = 5;
      • getAllowedValuesOrBuilderList

        List<? extends ValueOrBuilder> getAllowedValuesOrBuilderList()
         If not empty, parameter values must be drawn from this list.
         For example, [us-west1, us-west2, ...]
         Applicable to STRING parameter type.
         
        repeated .google.cloud.channel.v1.Value allowed_values = 5;
      • getAllowedValuesOrBuilder

        ValueOrBuilder getAllowedValuesOrBuilder​(int index)
         If not empty, parameter values must be drawn from this list.
         For example, [us-west1, us-west2, ...]
         Applicable to STRING parameter type.
         
        repeated .google.cloud.channel.v1.Value allowed_values = 5;
      • getOptional

        boolean getOptional()
         If set to true, parameter is optional to purchase this Offer.
         
        bool optional = 6;
        Returns:
        The optional.