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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Parameter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Parameter buildPartial()
clear()
public Parameter.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Parameter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Parameter.Builder clearName()
Name of the parameter.
string name = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Parameter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearValue()
public Parameter.Builder clearValue()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
clone()
public Parameter.Builder clone()
Overrides
getDefaultInstanceForType()
public Parameter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for name.
|
getValue()
public Parameter.Value getValue()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
getValueBuilder()
public Parameter.Value.Builder getValueBuilder()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
getValueOrBuilder()
public Parameter.ValueOrBuilder getValueOrBuilder()
Value of parameter.
.google.cloud.commerce.consumer.procurement.v1alpha1.Parameter.Value value = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Parameter other)
public Parameter.Builder mergeFrom(Parameter other)
public Parameter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Parameter.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Parameter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public Parameter.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Parameter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Parameter.Builder setUnknownFields(UnknownFieldSet unknownFields)
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;
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;