- 3.57.0 (latest)
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class ParameterDefinition.Builder extends GeneratedMessageV3.Builder<ParameterDefinition.Builder> implements ParameterDefinitionOrBuilder
Parameter's definition. Specifies what parameter is required to use the current Offer to purchase.
Protobuf type google.cloud.channel.v1.ParameterDefinition
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ParameterDefinition.BuilderImplements
ParameterDefinitionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllAllowedValues(Iterable<? extends Value> values)
public ParameterDefinition.Builder addAllAllowedValues(Iterable<? extends Value> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.channel.v1.Value> |
Type | Description |
ParameterDefinition.Builder |
addAllowedValues(Value value)
public ParameterDefinition.Builder addAllowedValues(Value value)
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;
Name | Description |
value | Value |
Type | Description |
ParameterDefinition.Builder |
addAllowedValues(Value.Builder builderForValue)
public ParameterDefinition.Builder addAllowedValues(Value.Builder builderForValue)
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;
Name | Description |
builderForValue | Value.Builder |
Type | Description |
ParameterDefinition.Builder |
addAllowedValues(int index, Value value)
public ParameterDefinition.Builder addAllowedValues(int index, Value value)
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;
Name | Description |
index | int |
value | Value |
Type | Description |
ParameterDefinition.Builder |
addAllowedValues(int index, Value.Builder builderForValue)
public ParameterDefinition.Builder addAllowedValues(int index, Value.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Value.Builder |
Type | Description |
ParameterDefinition.Builder |
addAllowedValuesBuilder()
public Value.Builder addAllowedValuesBuilder()
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;
Type | Description |
Value.Builder |
addAllowedValuesBuilder(int index)
public Value.Builder addAllowedValuesBuilder(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;
Name | Description |
index | int |
Type | Description |
Value.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ParameterDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ParameterDefinition.Builder |
build()
public ParameterDefinition build()
Type | Description |
ParameterDefinition |
buildPartial()
public ParameterDefinition buildPartial()
Type | Description |
ParameterDefinition |
clear()
public ParameterDefinition.Builder clear()
Type | Description |
ParameterDefinition.Builder |
clearAllowedValues()
public ParameterDefinition.Builder clearAllowedValues()
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;
Type | Description |
ParameterDefinition.Builder |
clearField(Descriptors.FieldDescriptor field)
public ParameterDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ParameterDefinition.Builder |
clearMaxValue()
public ParameterDefinition.Builder clearMaxValue()
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;
Type | Description |
ParameterDefinition.Builder |
clearMinValue()
public ParameterDefinition.Builder clearMinValue()
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;
Type | Description |
ParameterDefinition.Builder |
clearName()
public ParameterDefinition.Builder clearName()
Name of the parameter.
string name = 1;
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ParameterDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ParameterDefinition.Builder |
clearOptional()
public ParameterDefinition.Builder clearOptional()
If set to true, parameter is optional to purchase this Offer.
bool optional = 6;
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
clearParameterType()
public ParameterDefinition.Builder clearParameterType()
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;
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
clone()
public ParameterDefinition.Builder clone()
Type | Description |
ParameterDefinition.Builder |
getAllowedValues(int index)
public 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;
Name | Description |
index | int |
Type | Description |
Value |
getAllowedValuesBuilder(int index)
public Value.Builder getAllowedValuesBuilder(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;
Name | Description |
index | int |
Type | Description |
Value.Builder |
getAllowedValuesBuilderList()
public List<Value.Builder> getAllowedValuesBuilderList()
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;
Type | Description |
List<Builder> |
getAllowedValuesCount()
public 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;
Type | Description |
int |
getAllowedValuesList()
public 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;
Type | Description |
List<Value> |
getAllowedValuesOrBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
ValueOrBuilder |
getAllowedValuesOrBuilderList()
public 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;
Type | Description |
List<? extends com.google.cloud.channel.v1.ValueOrBuilder> |
getDefaultInstanceForType()
public ParameterDefinition getDefaultInstanceForType()
Type | Description |
ParameterDefinition |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMaxValue()
public 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;
Type | Description |
Value | The maxValue. |
getMaxValueBuilder()
public Value.Builder getMaxValueBuilder()
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;
Type | Description |
Value.Builder |
getMaxValueOrBuilder()
public 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;
Type | Description |
ValueOrBuilder |
getMinValue()
public 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;
Type | Description |
Value | The minValue. |
getMinValueBuilder()
public Value.Builder getMinValueBuilder()
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;
Type | Description |
Value.Builder |
getMinValueOrBuilder()
public 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;
Type | Description |
ValueOrBuilder |
getName()
public String getName()
Name of the parameter.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the parameter.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOptional()
public boolean getOptional()
If set to true, parameter is optional to purchase this Offer.
bool optional = 6;
Type | Description |
boolean | The optional. |
getParameterType()
public 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;
Type | Description |
ParameterDefinition.ParameterType | The parameterType. |
getParameterTypeValue()
public 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;
Type | Description |
int | The enum numeric value on the wire for parameterType. |
hasMaxValue()
public 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;
Type | Description |
boolean | Whether the maxValue field is set. |
hasMinValue()
public 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;
Type | Description |
boolean | Whether the minValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ParameterDefinition other)
public ParameterDefinition.Builder mergeFrom(ParameterDefinition other)
Name | Description |
other | ParameterDefinition |
Type | Description |
ParameterDefinition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ParameterDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ParameterDefinition.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ParameterDefinition.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ParameterDefinition.Builder |
mergeMaxValue(Value value)
public ParameterDefinition.Builder mergeMaxValue(Value value)
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;
Name | Description |
value | Value |
Type | Description |
ParameterDefinition.Builder |
mergeMinValue(Value value)
public ParameterDefinition.Builder mergeMinValue(Value value)
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;
Name | Description |
value | Value |
Type | Description |
ParameterDefinition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ParameterDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ParameterDefinition.Builder |
removeAllowedValues(int index)
public ParameterDefinition.Builder removeAllowedValues(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;
Name | Description |
index | int |
Type | Description |
ParameterDefinition.Builder |
setAllowedValues(int index, Value value)
public ParameterDefinition.Builder setAllowedValues(int index, Value value)
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;
Name | Description |
index | int |
value | Value |
Type | Description |
ParameterDefinition.Builder |
setAllowedValues(int index, Value.Builder builderForValue)
public ParameterDefinition.Builder setAllowedValues(int index, Value.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Value.Builder |
Type | Description |
ParameterDefinition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ParameterDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ParameterDefinition.Builder |
setMaxValue(Value value)
public ParameterDefinition.Builder setMaxValue(Value value)
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;
Name | Description |
value | Value |
Type | Description |
ParameterDefinition.Builder |
setMaxValue(Value.Builder builderForValue)
public ParameterDefinition.Builder setMaxValue(Value.Builder builderForValue)
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;
Name | Description |
builderForValue | Value.Builder |
Type | Description |
ParameterDefinition.Builder |
setMinValue(Value value)
public ParameterDefinition.Builder setMinValue(Value value)
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;
Name | Description |
value | Value |
Type | Description |
ParameterDefinition.Builder |
setMinValue(Value.Builder builderForValue)
public ParameterDefinition.Builder setMinValue(Value.Builder builderForValue)
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;
Name | Description |
builderForValue | Value.Builder |
Type | Description |
ParameterDefinition.Builder |
setName(String value)
public ParameterDefinition.Builder setName(String value)
Name of the parameter.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ParameterDefinition.Builder setNameBytes(ByteString value)
Name of the parameter.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
setOptional(boolean value)
public ParameterDefinition.Builder setOptional(boolean value)
If set to true, parameter is optional to purchase this Offer.
bool optional = 6;
Name | Description |
value | boolean The optional to set. |
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
setParameterType(ParameterDefinition.ParameterType value)
public ParameterDefinition.Builder setParameterType(ParameterDefinition.ParameterType value)
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;
Name | Description |
value | ParameterDefinition.ParameterType The parameterType to set. |
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
setParameterTypeValue(int value)
public ParameterDefinition.Builder setParameterTypeValue(int value)
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;
Name | Description |
value | int The enum numeric value on the wire for parameterType to set. |
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ParameterDefinition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ParameterDefinition.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ParameterDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ParameterDefinition.Builder |