public static final class LfpMerchantState.Builder extends GeneratedMessageV3.Builder<LfpMerchantState.Builder> implements LfpMerchantStateOrBuilder
The LFP state of a merchant.
Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LfpMerchantState.BuilderImplements
LfpMerchantStateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCountrySettings(Iterable<? extends LfpMerchantState.CountrySettings> values)
public LfpMerchantState.Builder addAllCountrySettings(Iterable<? extends LfpMerchantState.CountrySettings> values)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings> |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addAllStoreStates(Iterable<? extends LfpMerchantState.LfpStoreState> values)
public LfpMerchantState.Builder addAllStoreStates(Iterable<? extends LfpMerchantState.LfpStoreState> values)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState> |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addCountrySettings(LfpMerchantState.CountrySettings value)
public LfpMerchantState.Builder addCountrySettings(LfpMerchantState.CountrySettings value)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
value |
LfpMerchantState.CountrySettings |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addCountrySettings(LfpMerchantState.CountrySettings.Builder builderForValue)
public LfpMerchantState.Builder addCountrySettings(LfpMerchantState.CountrySettings.Builder builderForValue)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
LfpMerchantState.CountrySettings.Builder |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addCountrySettings(int index, LfpMerchantState.CountrySettings value)
public LfpMerchantState.Builder addCountrySettings(int index, LfpMerchantState.CountrySettings value)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
LfpMerchantState.CountrySettings |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addCountrySettings(int index, LfpMerchantState.CountrySettings.Builder builderForValue)
public LfpMerchantState.Builder addCountrySettings(int index, LfpMerchantState.CountrySettings.Builder builderForValue)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LfpMerchantState.CountrySettings.Builder |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addCountrySettingsBuilder()
public LfpMerchantState.CountrySettings.Builder addCountrySettingsBuilder()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns | |
---|---|
Type | Description |
LfpMerchantState.CountrySettings.Builder |
addCountrySettingsBuilder(int index)
public LfpMerchantState.CountrySettings.Builder addCountrySettingsBuilder(int index)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.CountrySettings.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LfpMerchantState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addStoreStates(LfpMerchantState.LfpStoreState value)
public LfpMerchantState.Builder addStoreStates(LfpMerchantState.LfpStoreState value)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
LfpMerchantState.LfpStoreState |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addStoreStates(LfpMerchantState.LfpStoreState.Builder builderForValue)
public LfpMerchantState.Builder addStoreStates(LfpMerchantState.LfpStoreState.Builder builderForValue)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
LfpMerchantState.LfpStoreState.Builder |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addStoreStates(int index, LfpMerchantState.LfpStoreState value)
public LfpMerchantState.Builder addStoreStates(int index, LfpMerchantState.LfpStoreState value)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
LfpMerchantState.LfpStoreState |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addStoreStates(int index, LfpMerchantState.LfpStoreState.Builder builderForValue)
public LfpMerchantState.Builder addStoreStates(int index, LfpMerchantState.LfpStoreState.Builder builderForValue)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LfpMerchantState.LfpStoreState.Builder |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
addStoreStatesBuilder()
public LfpMerchantState.LfpStoreState.Builder addStoreStatesBuilder()
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
LfpMerchantState.LfpStoreState.Builder |
addStoreStatesBuilder(int index)
public LfpMerchantState.LfpStoreState.Builder addStoreStatesBuilder(int index)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.LfpStoreState.Builder |
build()
public LfpMerchantState build()
Returns | |
---|---|
Type | Description |
LfpMerchantState |
buildPartial()
public LfpMerchantState buildPartial()
Returns | |
---|---|
Type | Description |
LfpMerchantState |
clear()
public LfpMerchantState.Builder clear()
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
clearCountrySettings()
public LfpMerchantState.Builder clearCountrySettings()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
clearField(Descriptors.FieldDescriptor field)
public LfpMerchantState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
clearInventoryStats()
public LfpMerchantState.Builder clearInventoryStats()
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
clearLinkedGbps()
public LfpMerchantState.Builder clearLinkedGbps()
Number of GBPs this merchant has access to.
int64 linked_gbps = 2;
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
This builder for chaining. |
clearName()
public LfpMerchantState.Builder clearName()
Identifier. The name of the LfpMerchantState
resource. Format:
accounts/{account}/lfpMerchantStates/{target_merchant}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LfpMerchantState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
clearStoreStates()
public LfpMerchantState.Builder clearStoreStates()
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
clone()
public LfpMerchantState.Builder clone()
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
getCountrySettings(int index)
public LfpMerchantState.CountrySettings getCountrySettings(int index)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.CountrySettings |
getCountrySettingsBuilder(int index)
public LfpMerchantState.CountrySettings.Builder getCountrySettingsBuilder(int index)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.CountrySettings.Builder |
getCountrySettingsBuilderList()
public List<LfpMerchantState.CountrySettings.Builder> getCountrySettingsBuilderList()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns | |
---|---|
Type | Description |
List<Builder> |
getCountrySettingsCount()
public int getCountrySettingsCount()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns | |
---|---|
Type | Description |
int |
getCountrySettingsList()
public List<LfpMerchantState.CountrySettings> getCountrySettingsList()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns | |
---|---|
Type | Description |
List<CountrySettings> |
getCountrySettingsOrBuilder(int index)
public LfpMerchantState.CountrySettingsOrBuilder getCountrySettingsOrBuilder(int index)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.CountrySettingsOrBuilder |
getCountrySettingsOrBuilderList()
public List<? extends LfpMerchantState.CountrySettingsOrBuilder> getCountrySettingsOrBuilderList()
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettingsOrBuilder> |
getDefaultInstanceForType()
public LfpMerchantState getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LfpMerchantState |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getInventoryStats()
public LfpMerchantState.InventoryStats getInventoryStats()
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Returns | |
---|---|
Type | Description |
LfpMerchantState.InventoryStats |
The inventoryStats. |
getInventoryStatsBuilder()
public LfpMerchantState.InventoryStats.Builder getInventoryStatsBuilder()
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Returns | |
---|---|
Type | Description |
LfpMerchantState.InventoryStats.Builder |
getInventoryStatsOrBuilder()
public LfpMerchantState.InventoryStatsOrBuilder getInventoryStatsOrBuilder()
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Returns | |
---|---|
Type | Description |
LfpMerchantState.InventoryStatsOrBuilder |
getLinkedGbps()
public long getLinkedGbps()
Number of GBPs this merchant has access to.
int64 linked_gbps = 2;
Returns | |
---|---|
Type | Description |
long |
The linkedGbps. |
getName()
public String getName()
Identifier. The name of the LfpMerchantState
resource. Format:
accounts/{account}/lfpMerchantStates/{target_merchant}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Identifier. The name of the LfpMerchantState
resource. Format:
accounts/{account}/lfpMerchantStates/{target_merchant}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getStoreStates(int index)
public LfpMerchantState.LfpStoreState getStoreStates(int index)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.LfpStoreState |
getStoreStatesBuilder(int index)
public LfpMerchantState.LfpStoreState.Builder getStoreStatesBuilder(int index)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.LfpStoreState.Builder |
getStoreStatesBuilderList()
public List<LfpMerchantState.LfpStoreState.Builder> getStoreStatesBuilderList()
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<Builder> |
getStoreStatesCount()
public int getStoreStatesCount()
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int |
getStoreStatesList()
public List<LfpMerchantState.LfpStoreState> getStoreStatesList()
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<LfpStoreState> |
getStoreStatesOrBuilder(int index)
public LfpMerchantState.LfpStoreStateOrBuilder getStoreStatesOrBuilder(int index)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.LfpStoreStateOrBuilder |
getStoreStatesOrBuilderList()
public List<? extends LfpMerchantState.LfpStoreStateOrBuilder> getStoreStatesOrBuilderList()
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
List<? extends com.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreStateOrBuilder> |
hasInventoryStats()
public boolean hasInventoryStats()
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the inventoryStats field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LfpMerchantState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LfpMerchantState.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
mergeFrom(LfpMerchantState other)
public LfpMerchantState.Builder mergeFrom(LfpMerchantState other)
Parameter | |
---|---|
Name | Description |
other |
LfpMerchantState |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
mergeInventoryStats(LfpMerchantState.InventoryStats value)
public LfpMerchantState.Builder mergeInventoryStats(LfpMerchantState.InventoryStats value)
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Parameter | |
---|---|
Name | Description |
value |
LfpMerchantState.InventoryStats |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LfpMerchantState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
removeCountrySettings(int index)
public LfpMerchantState.Builder removeCountrySettings(int index)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
removeStoreStates(int index)
public LfpMerchantState.Builder removeStoreStates(int index)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setCountrySettings(int index, LfpMerchantState.CountrySettings value)
public LfpMerchantState.Builder setCountrySettings(int index, LfpMerchantState.CountrySettings value)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
LfpMerchantState.CountrySettings |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setCountrySettings(int index, LfpMerchantState.CountrySettings.Builder builderForValue)
public LfpMerchantState.Builder setCountrySettings(int index, LfpMerchantState.CountrySettings.Builder builderForValue)
Country-specific settings for the merchant.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.CountrySettings country_settings = 5;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LfpMerchantState.CountrySettings.Builder |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LfpMerchantState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setInventoryStats(LfpMerchantState.InventoryStats value)
public LfpMerchantState.Builder setInventoryStats(LfpMerchantState.InventoryStats value)
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Parameter | |
---|---|
Name | Description |
value |
LfpMerchantState.InventoryStats |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setInventoryStats(LfpMerchantState.InventoryStats.Builder builderForValue)
public LfpMerchantState.Builder setInventoryStats(LfpMerchantState.InventoryStats.Builder builderForValue)
The inventory statistics for the merchant. The field will be absent if the merchant has no inventory submitted through LFP.
.google.shopping.merchant.lfp.v1beta.LfpMerchantState.InventoryStats inventory_stats = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
LfpMerchantState.InventoryStats.Builder |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setLinkedGbps(long value)
public LfpMerchantState.Builder setLinkedGbps(long value)
Number of GBPs this merchant has access to.
int64 linked_gbps = 2;
Parameter | |
---|---|
Name | Description |
value |
long The linkedGbps to set. |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
This builder for chaining. |
setName(String value)
public LfpMerchantState.Builder setName(String value)
Identifier. The name of the LfpMerchantState
resource. Format:
accounts/{account}/lfpMerchantStates/{target_merchant}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public LfpMerchantState.Builder setNameBytes(ByteString value)
Identifier. The name of the LfpMerchantState
resource. Format:
accounts/{account}/lfpMerchantStates/{target_merchant}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LfpMerchantState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setStoreStates(int index, LfpMerchantState.LfpStoreState value)
public LfpMerchantState.Builder setStoreStates(int index, LfpMerchantState.LfpStoreState value)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
LfpMerchantState.LfpStoreState |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setStoreStates(int index, LfpMerchantState.LfpStoreState.Builder builderForValue)
public LfpMerchantState.Builder setStoreStates(int index, LfpMerchantState.LfpStoreState.Builder builderForValue)
Output only. The state per store from the specified merchant. The field will be absent if the merchant has no stores submitted through LFP.
repeated .google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState store_states = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
LfpMerchantState.LfpStoreState.Builder |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final LfpMerchantState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LfpMerchantState.Builder |