Class PlaceOrderMetadata.Builder (0.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PlaceOrderMetadata build()
Returns
TypeDescription
PlaceOrderMetadata

buildPartial()

public PlaceOrderMetadata buildPartial()
Returns
TypeDescription
PlaceOrderMetadata

clear()

public PlaceOrderMetadata.Builder clear()
Returns
TypeDescription
PlaceOrderMetadata.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public PlaceOrderMetadata.Builder clone()
Returns
TypeDescription
PlaceOrderMetadata.Builder
Overrides

getDefaultInstanceForType()

public PlaceOrderMetadata getDefaultInstanceForType()
Returns
TypeDescription
PlaceOrderMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PlaceOrderMetadata other)

public PlaceOrderMetadata.Builder mergeFrom(PlaceOrderMetadata other)
Parameter
NameDescription
otherPlaceOrderMetadata
Returns
TypeDescription
PlaceOrderMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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