Class Parameter.Value.Builder (0.30.0)

public static final class Parameter.Value.Builder extends GeneratedMessageV3.Builder<Parameter.Value.Builder> implements Parameter.ValueOrBuilder

Protobuf type google.cloud.commerce.consumer.procurement.v1.Parameter.Value

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Parameter.Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Parameter.Value.Builder
Overrides

build()

public Parameter.Value build()
Returns
TypeDescription
Parameter.Value

buildPartial()

public Parameter.Value buildPartial()
Returns
TypeDescription
Parameter.Value

clear()

public Parameter.Value.Builder clear()
Returns
TypeDescription
Parameter.Value.Builder
Overrides

clearDoubleValue()

public Parameter.Value.Builder clearDoubleValue()

Represents a double value.

double double_value = 5;

Returns
TypeDescription
Parameter.Value.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Parameter.Value.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Parameter.Value.Builder
Overrides

clearInt64Value()

public Parameter.Value.Builder clearInt64Value()

Represents an int64 value.

int64 int64_value = 3;

Returns
TypeDescription
Parameter.Value.Builder

This builder for chaining.

clearKind()

public Parameter.Value.Builder clearKind()
Returns
TypeDescription
Parameter.Value.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Parameter.Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Parameter.Value.Builder
Overrides

clearStringValue()

public Parameter.Value.Builder clearStringValue()

Represents a string value.

string string_value = 4;

Returns
TypeDescription
Parameter.Value.Builder

This builder for chaining.

clone()

public Parameter.Value.Builder clone()
Returns
TypeDescription
Parameter.Value.Builder
Overrides

getDefaultInstanceForType()

public Parameter.Value getDefaultInstanceForType()
Returns
TypeDescription
Parameter.Value

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDoubleValue()

public double getDoubleValue()

Represents a double value.

double double_value = 5;

Returns
TypeDescription
double

The doubleValue.

getInt64Value()

public long getInt64Value()

Represents an int64 value.

int64 int64_value = 3;

Returns
TypeDescription
long

The int64Value.

getKindCase()

public Parameter.Value.KindCase getKindCase()
Returns
TypeDescription
Parameter.Value.KindCase

getStringValue()

public String getStringValue()

Represents a string value.

string string_value = 4;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

Represents a string value.

string string_value = 4;

Returns
TypeDescription
ByteString

The bytes for stringValue.

hasDoubleValue()

public boolean hasDoubleValue()

Represents a double value.

double double_value = 5;

Returns
TypeDescription
boolean

Whether the doubleValue field is set.

hasInt64Value()

public boolean hasInt64Value()

Represents an int64 value.

int64 int64_value = 3;

Returns
TypeDescription
boolean

Whether the int64Value field is set.

hasStringValue()

public boolean hasStringValue()

Represents a string value.

string string_value = 4;

Returns
TypeDescription
boolean

Whether the stringValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Parameter.Value other)

public Parameter.Value.Builder mergeFrom(Parameter.Value other)
Parameter
NameDescription
otherParameter.Value
Returns
TypeDescription
Parameter.Value.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Parameter.Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Parameter.Value.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Parameter.Value.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Parameter.Value.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Parameter.Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Parameter.Value.Builder
Overrides

setDoubleValue(double value)

public Parameter.Value.Builder setDoubleValue(double value)

Represents a double value.

double double_value = 5;

Parameter
NameDescription
valuedouble

The doubleValue to set.

Returns
TypeDescription
Parameter.Value.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Parameter.Value.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Parameter.Value.Builder
Overrides

setInt64Value(long value)

public Parameter.Value.Builder setInt64Value(long value)

Represents an int64 value.

int64 int64_value = 3;

Parameter
NameDescription
valuelong

The int64Value to set.

Returns
TypeDescription
Parameter.Value.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Parameter.Value.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Parameter.Value.Builder
Overrides

setStringValue(String value)

public Parameter.Value.Builder setStringValue(String value)

Represents a string value.

string string_value = 4;

Parameter
NameDescription
valueString

The stringValue to set.

Returns
TypeDescription
Parameter.Value.Builder

This builder for chaining.

setStringValueBytes(ByteString value)

public Parameter.Value.Builder setStringValueBytes(ByteString value)

Represents a string value.

string string_value = 4;

Parameter
NameDescription
valueByteString

The bytes for stringValue to set.

Returns
TypeDescription
Parameter.Value.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Parameter.Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Parameter.Value.Builder
Overrides