Class SetInventoryResponse.Builder (2.7.0)

public static final class SetInventoryResponse.Builder extends GeneratedMessageV3.Builder<SetInventoryResponse.Builder> implements SetInventoryResponseOrBuilder

Response of the SetInventoryRequest. Currently empty because there is no meaningful response populated from the ProductService.SetInventory method.

Protobuf type google.cloud.retail.v2beta.SetInventoryResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SetInventoryResponse build()
Returns
TypeDescription
SetInventoryResponse

buildPartial()

public SetInventoryResponse buildPartial()
Returns
TypeDescription
SetInventoryResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SetInventoryResponse getDefaultInstanceForType()
Returns
TypeDescription
SetInventoryResponse

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

public SetInventoryResponse.Builder mergeFrom(SetInventoryResponse other)
Parameter
NameDescription
otherSetInventoryResponse
Returns
TypeDescription
SetInventoryResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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