Interface ParameterDefinitionOrBuilder (3.21.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ValueOrBuilder

getName()

public abstract String getName()

Name of the parameter.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the parameter.

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the minValue field is set.