Class InsertLfpSaleRequest.Builder (0.13.0)

public static final class InsertLfpSaleRequest.Builder extends GeneratedMessageV3.Builder<InsertLfpSaleRequest.Builder> implements InsertLfpSaleRequestOrBuilder

Request message for the InsertLfpSale method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InsertLfpSaleRequest build()
Returns
Type Description
InsertLfpSaleRequest

buildPartial()

public InsertLfpSaleRequest buildPartial()
Returns
Type Description
InsertLfpSaleRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLfpSale()

public InsertLfpSaleRequest.Builder clearLfpSale()

Required. The sale to insert.

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

Returns
Type Description
InsertLfpSaleRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public InsertLfpSaleRequest.Builder clearParent()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InsertLfpSaleRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public InsertLfpSaleRequest getDefaultInstanceForType()
Returns
Type Description
InsertLfpSaleRequest

getDescriptorForType()

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

getLfpSale()

public LfpSale getLfpSale()

Required. The sale to insert.

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

Returns
Type Description
LfpSale

The lfpSale.

getLfpSaleBuilder()

public LfpSale.Builder getLfpSaleBuilder()

Required. The sale to insert.

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

Returns
Type Description
LfpSale.Builder

getLfpSaleOrBuilder()

public LfpSaleOrBuilder getLfpSaleOrBuilder()

Required. The sale to insert.

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

Returns
Type Description
LfpSaleOrBuilder

getParent()

public String getParent()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

hasLfpSale()

public boolean hasLfpSale()

Required. The sale to insert.

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

Returns
Type Description
boolean

Whether the lfpSale 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 InsertLfpSaleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InsertLfpSaleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(InsertLfpSaleRequest other)

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

mergeLfpSale(LfpSale value)

public InsertLfpSaleRequest.Builder mergeLfpSale(LfpSale value)

Required. The sale to insert.

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

Parameter
Name Description
value LfpSale
Returns
Type Description
InsertLfpSaleRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setLfpSale(LfpSale value)

public InsertLfpSaleRequest.Builder setLfpSale(LfpSale value)

Required. The sale to insert.

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

Parameter
Name Description
value LfpSale
Returns
Type Description
InsertLfpSaleRequest.Builder

setLfpSale(LfpSale.Builder builderForValue)

public InsertLfpSaleRequest.Builder setLfpSale(LfpSale.Builder builderForValue)

Required. The sale to insert.

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

Parameter
Name Description
builderForValue LfpSale.Builder
Returns
Type Description
InsertLfpSaleRequest.Builder

setParent(String value)

public InsertLfpSaleRequest.Builder setParent(String value)

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
InsertLfpSaleRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public InsertLfpSaleRequest.Builder setParentBytes(ByteString value)

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

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
InsertLfpSaleRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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