Class Parameter.Value.Builder (0.41.0)

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Parameter.Value.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Parameter.Value.Builder
Overrides

build()

public Parameter.Value build()
Returns
Type Description
Parameter.Value

buildPartial()

public Parameter.Value buildPartial()
Returns
Type Description
Parameter.Value

clear()

public Parameter.Value.Builder clear()
Returns
Type Description
Parameter.Value.Builder
Overrides

clearDoubleValue()

public Parameter.Value.Builder clearDoubleValue()

Represents a double value.

double double_value = 5;

Returns
Type Description
Parameter.Value.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Parameter.Value.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Parameter.Value.Builder
Overrides

clearInt64Value()

public Parameter.Value.Builder clearInt64Value()

Represents an int64 value.

int64 int64_value = 3;

Returns
Type Description
Parameter.Value.Builder

This builder for chaining.

clearKind()

public Parameter.Value.Builder clearKind()
Returns
Type Description
Parameter.Value.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Parameter.Value.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Parameter.Value.Builder
Overrides

clearStringValue()

public Parameter.Value.Builder clearStringValue()

Represents a string value.

string string_value = 4;

Returns
Type Description
Parameter.Value.Builder

This builder for chaining.

clone()

public Parameter.Value.Builder clone()
Returns
Type Description
Parameter.Value.Builder
Overrides

getDefaultInstanceForType()

public Parameter.Value getDefaultInstanceForType()
Returns
Type Description
Parameter.Value

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDoubleValue()

public double getDoubleValue()

Represents a double value.

double double_value = 5;

Returns
Type Description
double

The doubleValue.

getInt64Value()

public long getInt64Value()

Represents an int64 value.

int64 int64_value = 3;

Returns
Type Description
long

The int64Value.

getKindCase()

public Parameter.Value.KindCase getKindCase()
Returns
Type Description
Parameter.Value.KindCase

getStringValue()

public String getStringValue()

Represents a string value.

string string_value = 4;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public ByteString getStringValueBytes()

Represents a string value.

string string_value = 4;

Returns
Type Description
ByteString

The bytes for stringValue.

hasDoubleValue()

public boolean hasDoubleValue()

Represents a double value.

double double_value = 5;

Returns
Type Description
boolean

Whether the doubleValue field is set.

hasInt64Value()

public boolean hasInt64Value()

Represents an int64 value.

int64 int64_value = 3;

Returns
Type Description
boolean

Whether the int64Value field is set.

hasStringValue()

public boolean hasStringValue()

Represents a string value.

string string_value = 4;

Returns
Type Description
boolean

Whether the stringValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Parameter.Value other)

public Parameter.Value.Builder mergeFrom(Parameter.Value other)
Parameter
Name Description
other Parameter.Value
Returns
Type Description
Parameter.Value.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Parameter.Value.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Parameter.Value.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Parameter.Value.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Parameter.Value.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Parameter.Value.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Parameter.Value.Builder
Overrides

setDoubleValue(double value)

public Parameter.Value.Builder setDoubleValue(double value)

Represents a double value.

double double_value = 5;

Parameter
Name Description
value double

The doubleValue to set.

Returns
Type Description
Parameter.Value.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Parameter.Value.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Parameter.Value.Builder
Overrides

setInt64Value(long value)

public Parameter.Value.Builder setInt64Value(long value)

Represents an int64 value.

int64 int64_value = 3;

Parameter
Name Description
value long

The int64Value to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Parameter.Value.Builder
Overrides

setStringValue(String value)

public Parameter.Value.Builder setStringValue(String value)

Represents a string value.

string string_value = 4;

Parameter
Name Description
value String

The stringValue to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for stringValue to set.

Returns
Type Description
Parameter.Value.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Parameter.Value.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Parameter.Value.Builder
Overrides