Class ModifyOrderMetadata.Builder (0.53.0)

public static final class ModifyOrderMetadata.Builder extends GeneratedMessageV3.Builder<ModifyOrderMetadata.Builder> implements ModifyOrderMetadataOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ModifyOrderMetadata build()
Returns
Type Description
ModifyOrderMetadata

buildPartial()

public ModifyOrderMetadata buildPartial()
Returns
Type Description
ModifyOrderMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ModifyOrderMetadata getDefaultInstanceForType()
Returns
Type Description
ModifyOrderMetadata

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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