- 3.55.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.channel.v1.Value> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Value |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Value.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Value |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Value.Builder |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Value.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ParameterDefinition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
build()
public ParameterDefinition build()
Returns | |
---|---|
Type | Description |
ParameterDefinition |
buildPartial()
public ParameterDefinition buildPartial()
Returns | |
---|---|
Type | Description |
ParameterDefinition |
clear()
public ParameterDefinition.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
clearField(Descriptors.FieldDescriptor field)
public ParameterDefinition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
clearName()
public ParameterDefinition.Builder clearName()
Name of the parameter.
string name = 1;
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ParameterDefinition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
clearOptional()
public ParameterDefinition.Builder clearOptional()
If set to true, parameter is optional to purchase this Offer.
bool optional = 6;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
clone()
public ParameterDefinition.Builder clone()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.channel.v1.ValueOrBuilder> |
getDefaultInstanceForType()
public ParameterDefinition getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ParameterDefinition |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ValueOrBuilder |
getName()
public String getName()
Name of the parameter.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the parameter.
string name = 1;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the minValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ParameterDefinition other)
public ParameterDefinition.Builder mergeFrom(ParameterDefinition other)
Parameter | |
---|---|
Name | Description |
other | ParameterDefinition |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ParameterDefinition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ParameterDefinition.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Value |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Value |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ParameterDefinition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Value |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Value.Builder |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ParameterDefinition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Value |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Value.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Value |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Value.Builder |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
setName(String value)
public ParameterDefinition.Builder setName(String value)
Name of the parameter.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ParameterDefinition.Builder setNameBytes(ByteString value)
Name of the parameter.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | boolean The optional to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ParameterDefinition.ParameterType The parameterType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for parameterType to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ParameterDefinition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ParameterDefinition.Builder |