Interface ParameterDefinitionOrBuilder (3.51.0)

public interface ParameterDefinitionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowedValues(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
Value

getAllowedValuesCount()

public abstract 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;

Returns
Type Description
int

getAllowedValuesList()

public abstract 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;

Returns
Type Description
List<Value>

getAllowedValuesOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
ValueOrBuilder

getAllowedValuesOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.channel.v1.ValueOrBuilder>

getMaxValue()

public abstract 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
Type Description
Value

The maxValue.

getMaxValueOrBuilder()

public abstract 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;

Returns
Type Description
ValueOrBuilder

getMinValue()

public abstract 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
Type Description
Value

The minValue.

getMinValueOrBuilder()

public abstract 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;

Returns
Type Description
ValueOrBuilder

getName()

public abstract String getName()

Name of the parameter.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the parameter.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOptional()

public abstract boolean getOptional()

If set to true, parameter is optional to purchase this Offer.

bool optional = 6;

Returns
Type Description
boolean

The optional.

getParameterType()

public abstract 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
Type Description
ParameterDefinition.ParameterType

The parameterType.

getParameterTypeValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for parameterType.

hasMaxValue()

public abstract 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
Type Description
boolean

Whether the maxValue field is set.

hasMinValue()

public abstract 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
Type Description
boolean

Whether the minValue field is set.