Class CancelOrderMetadata.Builder (0.52.0)

public static final class CancelOrderMetadata.Builder extends GeneratedMessageV3.Builder<CancelOrderMetadata.Builder> implements CancelOrderMetadataOrBuilder

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

Protobuf type google.cloud.commerce.consumer.procurement.v1.CancelOrderMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CancelOrderMetadata build()
Returns
Type Description
CancelOrderMetadata

buildPartial()

public CancelOrderMetadata buildPartial()
Returns
Type Description
CancelOrderMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CancelOrderMetadata getDefaultInstanceForType()
Returns
Type Description
CancelOrderMetadata

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(CancelOrderMetadata other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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