Class SetInventoryMetadata.Builder (2.43.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.v2.SetInventoryMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetInventoryMetadata build()
Returns
TypeDescription
SetInventoryMetadata

buildPartial()

public SetInventoryMetadata buildPartial()
Returns
TypeDescription
SetInventoryMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SetInventoryMetadata getDefaultInstanceForType()
Returns
TypeDescription
SetInventoryMetadata

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

public SetInventoryMetadata.Builder mergeFrom(SetInventoryMetadata other)
Parameter
NameDescription
otherSetInventoryMetadata
Returns
TypeDescription
SetInventoryMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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