Class SetInventoryMetadata.Builder (2.54.0)

public static final class SetInventoryMetadata.Builder extends GeneratedMessageV3.Builder<SetInventoryMetadata.Builder> implements SetInventoryMetadataOrBuilder

Metadata related to the progress of the SetInventory operation. Currently empty because there is no meaningful metadata populated from the ProductService.SetInventory method.

Protobuf type google.cloud.retail.v2alpha.SetInventoryMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetInventoryMetadata build()
Returns
Type Description
SetInventoryMetadata

buildPartial()

public SetInventoryMetadata buildPartial()
Returns
Type Description
SetInventoryMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SetInventoryMetadata getDefaultInstanceForType()
Returns
Type Description
SetInventoryMetadata

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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