Class PlaceOrderMetadata.Builder (0.40.0)

public static final class PlaceOrderMetadata.Builder extends GeneratedMessageV3.Builder<PlaceOrderMetadata.Builder> implements PlaceOrderMetadataOrBuilder

Message stored in the metadata field of the Operation returned by ConsumerProcurementService.PlaceOrder.

Protobuf type google.cloud.commerce.consumer.procurement.v1alpha1.PlaceOrderMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlaceOrderMetadata build()
Returns
Type Description
PlaceOrderMetadata

buildPartial()

public PlaceOrderMetadata buildPartial()
Returns
Type Description
PlaceOrderMetadata

clear()

public PlaceOrderMetadata.Builder clear()
Returns
Type Description
PlaceOrderMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PlaceOrderMetadata.Builder clone()
Returns
Type Description
PlaceOrderMetadata.Builder
Overrides

getDefaultInstanceForType()

public PlaceOrderMetadata getDefaultInstanceForType()
Returns
Type Description
PlaceOrderMetadata

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PlaceOrderMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public PlaceOrderMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PlaceOrderMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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