Class InsertLfpInventoryRequest.Builder (0.13.0)

public static final class InsertLfpInventoryRequest.Builder extends GeneratedMessageV3.Builder<InsertLfpInventoryRequest.Builder> implements InsertLfpInventoryRequestOrBuilder

Request message for the InsertLfpInventory method.

Protobuf type google.shopping.merchant.lfp.v1beta.InsertLfpInventoryRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InsertLfpInventoryRequest build()
Returns
Type Description
InsertLfpInventoryRequest

buildPartial()

public InsertLfpInventoryRequest buildPartial()
Returns
Type Description
InsertLfpInventoryRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLfpInventory()

public InsertLfpInventoryRequest.Builder clearLfpInventory()

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InsertLfpInventoryRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public InsertLfpInventoryRequest.Builder clearParent()

Required. The LFP provider account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
InsertLfpInventoryRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public InsertLfpInventoryRequest getDefaultInstanceForType()
Returns
Type Description
InsertLfpInventoryRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLfpInventory()

public LfpInventory getLfpInventory()

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LfpInventory

The lfpInventory.

getLfpInventoryBuilder()

public LfpInventory.Builder getLfpInventoryBuilder()

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LfpInventory.Builder

getLfpInventoryOrBuilder()

public LfpInventoryOrBuilder getLfpInventoryOrBuilder()

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LfpInventoryOrBuilder

getParent()

public String getParent()

Required. The LFP provider account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The LFP provider account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasLfpInventory()

public boolean hasLfpInventory()

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the lfpInventory field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(InsertLfpInventoryRequest other)

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

mergeLfpInventory(LfpInventory value)

public InsertLfpInventoryRequest.Builder mergeLfpInventory(LfpInventory value)

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LfpInventory
Returns
Type Description
InsertLfpInventoryRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLfpInventory(LfpInventory value)

public InsertLfpInventoryRequest.Builder setLfpInventory(LfpInventory value)

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value LfpInventory
Returns
Type Description
InsertLfpInventoryRequest.Builder

setLfpInventory(LfpInventory.Builder builderForValue)

public InsertLfpInventoryRequest.Builder setLfpInventory(LfpInventory.Builder builderForValue)

Required. The inventory to insert.

.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue LfpInventory.Builder
Returns
Type Description
InsertLfpInventoryRequest.Builder

setParent(String value)

public InsertLfpInventoryRequest.Builder setParent(String value)

Required. The LFP provider account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
InsertLfpInventoryRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public InsertLfpInventoryRequest.Builder setParentBytes(ByteString value)

Required. The LFP provider account. Format: accounts/{account}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
InsertLfpInventoryRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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