public static final class Parameter.Builder extends GeneratedMessageV3.Builder<Parameter.Builder> implements ParameterOrBuilder
User-provided Parameters.
Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.Parameter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Parameter buildPartial()
Returns
clear()
public Parameter.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public Parameter.Builder clearName()
Name of the parameter.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearValue()
public Parameter.Builder clearValue()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Returns
clone()
public Parameter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getValue()
public Parameter.Value getValue()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Returns
getValueBuilder()
public Parameter.Value.Builder getValueBuilder()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Returns
getValueOrBuilder()
public Parameter.ValueOrBuilder getValueOrBuilder()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Returns
hasValue()
public boolean hasValue()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Returns
Type | Description |
boolean | Whether the value field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Parameter other)
public Parameter.Builder mergeFrom(Parameter other)
Parameter
Returns
public Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Parameter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeValue(Parameter.Value value)
public Parameter.Builder mergeValue(Parameter.Value value)
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public Parameter.Builder setName(String value)
Name of the parameter.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public Parameter.Builder setNameBytes(ByteString value)
Name of the parameter.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setValue(Parameter.Value value)
public Parameter.Builder setValue(Parameter.Value value)
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Parameter
Returns
setValue(Parameter.Value.Builder builderForValue)
public Parameter.Builder setValue(Parameter.Value.Builder builderForValue)
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
Parameter
Returns