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
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 InsertLfpInventoryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public InsertLfpInventoryRequest build()
public InsertLfpInventoryRequest buildPartial()
public InsertLfpInventoryRequest.Builder clear()
Overrides
public InsertLfpInventoryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public InsertLfpInventoryRequest.Builder clearLfpInventory()
Required. The inventory to insert.
.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];
public InsertLfpInventoryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public InsertLfpInventoryRequest.Builder clearParent()
Required. The LFP provider account.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public InsertLfpInventoryRequest.Builder clone()
Overrides
public InsertLfpInventoryRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public LfpInventory getLfpInventory()
Required. The inventory to insert.
.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];
public LfpInventory.Builder getLfpInventoryBuilder()
Required. The inventory to insert.
.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];
public LfpInventoryOrBuilder getLfpInventoryOrBuilder()
Required. The inventory to insert.
.google.shopping.merchant.lfp.v1beta.LfpInventory lfp_inventory = 2 [(.google.api.field_behavior) = REQUIRED];
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.
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InsertLfpInventoryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public InsertLfpInventoryRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public InsertLfpInventoryRequest.Builder mergeFrom(InsertLfpInventoryRequest other)
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];
public final InsertLfpInventoryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public InsertLfpInventoryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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.
|
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.
|
public InsertLfpInventoryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final InsertLfpInventoryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides