Package com.google.cloud.channel.v1
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Value
getAllowedValues(int index)
If not empty, parameter values must be drawn from this list.int
getAllowedValuesCount()
If not empty, parameter values must be drawn from this list.List<Value>
getAllowedValuesList()
If not empty, parameter values must be drawn from this list.ValueOrBuilder
getAllowedValuesOrBuilder(int index)
If not empty, parameter values must be drawn from this list.List<? extends ValueOrBuilder>
getAllowedValuesOrBuilderList()
If not empty, parameter values must be drawn from this list.Value
getMaxValue()
Maximum value of the parameter, if applicable.ValueOrBuilder
getMaxValueOrBuilder()
Maximum value of the parameter, if applicable.Value
getMinValue()
Minimal value of the parameter, if applicable.ValueOrBuilder
getMinValueOrBuilder()
Minimal value of the parameter, if applicable.String
getName()
Name of the parameter.com.google.protobuf.ByteString
getNameBytes()
Name of the parameter.boolean
getOptional()
If set to true, parameter is optional to purchase this Offer.ParameterDefinition.ParameterType
getParameterType()
Data type of the parameter.int
getParameterTypeValue()
Data type of the parameter.boolean
hasMaxValue()
Maximum value of the parameter, if applicable.boolean
hasMinValue()
Minimal value of the parameter, if applicable.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
-