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
@Generated
public interface ParameterDefinitionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAllowedValues(int index) If not empty, parameter values must be drawn from this list.intIf not empty, parameter values must be drawn from this list.If not empty, parameter values must be drawn from this list.getAllowedValuesOrBuilder(int index) If not empty, parameter values must be drawn from this list.List<? extends ValueOrBuilder>If not empty, parameter values must be drawn from this list.Maximum value of the parameter, if applicable.Maximum value of the parameter, if applicable.Minimal value of the parameter, if applicable.Minimal value of the parameter, if applicable.getName()Name of the parameter.com.google.protobuf.ByteStringName of the parameter.booleanIf set to true, parameter is optional to purchase this Offer.Data type of the parameter.intData type of the parameter.booleanMaximum value of the parameter, if applicable.booleanMinimal value of the parameter, if applicable.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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
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.
-