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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public InsertLfpSaleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InsertLfpSaleRequest build()
public InsertLfpSaleRequest buildPartial()
public InsertLfpSaleRequest.Builder clear()
Overrides
public InsertLfpSaleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InsertLfpSaleRequest.Builder clearLfpSale()
Required. The sale to insert.
.google.shopping.merchant.lfp.v1beta.LfpSale lfp_sale = 2 [(.google.api.field_behavior) = REQUIRED];
public InsertLfpSaleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InsertLfpSaleRequest.Builder clearParent()
Required. The LFP provider account.
Format: accounts/{lfp_partner}
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
public InsertLfpSaleRequest.Builder clone()
Overrides
public InsertLfpSaleRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public LfpSale.Builder getLfpSaleBuilder()
Required. The sale to insert.
.google.shopping.merchant.lfp.v1beta.LfpSale lfp_sale = 2 [(.google.api.field_behavior) = REQUIRED];
public LfpSaleOrBuilder getLfpSaleOrBuilder()
Required. The sale to insert.
.google.shopping.merchant.lfp.v1beta.LfpSale lfp_sale = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InsertLfpSaleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InsertLfpSaleRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public InsertLfpSaleRequest.Builder mergeFrom(InsertLfpSaleRequest other)
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
|
public final InsertLfpSaleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InsertLfpSaleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
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];
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.
|
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.
|
public InsertLfpSaleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InsertLfpSaleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides