Class LfpStore.Builder (0.3.0)

public static final class LfpStore.Builder extends GeneratedMessageV3.Builder<LfpStore.Builder> implements LfpStoreOrBuilder

A store for the merchant. This will be used to match to a store under the Google Business Profile of the target merchant. If a matching store can't be found, the inventories or sales submitted with the store code will not be used.

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

Implements

LfpStoreOrBuilder

Static Methods

getDescriptor()

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

Methods

addAllGcidCategory(Iterable<String> values)

public LfpStore.Builder addAllGcidCategory(Iterable<String> values)

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The gcidCategory to add.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

addGcidCategory(String value)

public LfpStore.Builder addGcidCategory(String value)

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The gcidCategory to add.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

addGcidCategoryBytes(ByteString value)

public LfpStore.Builder addGcidCategoryBytes(ByteString value)

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the gcidCategory to add.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LfpStore build()
Returns
Type Description
LfpStore

buildPartial()

public LfpStore buildPartial()
Returns
Type Description
LfpStore

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcidCategory()

public LfpStore.Builder clearGcidCategory()

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearMatchingState()

public LfpStore.Builder clearMatchingState()

Optional. Output only. The state of matching to a Google Business Profile. See matchingStateHint for further details if no match is found.

.google.shopping.merchant.lfp.v1beta.LfpStore.StoreMatchingState matching_state = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearMatchingStateHint()

public LfpStore.Builder clearMatchingStateHint()

Optional. Output only. The hint of why the matching has failed. This is only set when matchingState=STORE_MATCHING_STATE_FAILED.

Possible values are:

  • "linked-store-not-found": There aren't any Google Business Profile stores available for matching.
  • "store-match-not-found": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but the LfpStore location address does not match with Google Business Profile stores' addresses. Update the LfpStore address or Google Business Profile store address to match correctly.
  • "store-match-unverified": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.

optional string matching_state_hint = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearName()

public LfpStore.Builder clearName()

Output only. Identifier. The name of the LfpStore resource. Format: accounts/{account}/lfpStores/{target_merchant}~{store_code}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPhoneNumber()

public LfpStore.Builder clearPhoneNumber()

Optional. The store phone number in E.164 format. Example: +15556767888

optional string phone_number = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearPlaceId()

public LfpStore.Builder clearPlaceId()

Optional. The Google Place Id of the store location.

optional string place_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearStoreAddress()

public LfpStore.Builder clearStoreAddress()

Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.

string store_address = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearStoreCode()

public LfpStore.Builder clearStoreCode()

Required. Immutable. A store identifier that is unique for the target merchant.

string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearStoreName()

public LfpStore.Builder clearStoreName()

Optional. The merchant or store name.

optional string store_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearTargetAccount()

public LfpStore.Builder clearTargetAccount()

Required. The Merchant Center id of the merchant to submit the store for.

int64 target_account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clearWebsiteUri()

public LfpStore.Builder clearWebsiteUri()

Optional. The website URL for the store or merchant.

optional string website_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LfpStore.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public LfpStore getDefaultInstanceForType()
Returns
Type Description
LfpStore

getDescriptorForType()

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

getGcidCategory(int index)

public String getGcidCategory(int index)

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The gcidCategory at the given index.

getGcidCategoryBytes(int index)

public ByteString getGcidCategoryBytes(int index)

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the gcidCategory at the given index.

getGcidCategoryCount()

public int getGcidCategoryCount()

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of gcidCategory.

getGcidCategoryList()

public ProtocolStringList getGcidCategoryList()

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the gcidCategory.

getMatchingState()

public LfpStore.StoreMatchingState getMatchingState()

Optional. Output only. The state of matching to a Google Business Profile. See matchingStateHint for further details if no match is found.

.google.shopping.merchant.lfp.v1beta.LfpStore.StoreMatchingState matching_state = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpStore.StoreMatchingState

The matchingState.

getMatchingStateHint()

public String getMatchingStateHint()

Optional. Output only. The hint of why the matching has failed. This is only set when matchingState=STORE_MATCHING_STATE_FAILED.

Possible values are:

  • "linked-store-not-found": There aren't any Google Business Profile stores available for matching.
  • "store-match-not-found": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but the LfpStore location address does not match with Google Business Profile stores' addresses. Update the LfpStore address or Google Business Profile store address to match correctly.
  • "store-match-unverified": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.

optional string matching_state_hint = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The matchingStateHint.

getMatchingStateHintBytes()

public ByteString getMatchingStateHintBytes()

Optional. Output only. The hint of why the matching has failed. This is only set when matchingState=STORE_MATCHING_STATE_FAILED.

Possible values are:

  • "linked-store-not-found": There aren't any Google Business Profile stores available for matching.
  • "store-match-not-found": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but the LfpStore location address does not match with Google Business Profile stores' addresses. Update the LfpStore address or Google Business Profile store address to match correctly.
  • "store-match-unverified": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.

optional string matching_state_hint = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for matchingStateHint.

getMatchingStateValue()

public int getMatchingStateValue()

Optional. Output only. The state of matching to a Google Business Profile. See matchingStateHint for further details if no match is found.

.google.shopping.merchant.lfp.v1beta.LfpStore.StoreMatchingState matching_state = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for matchingState.

getName()

public String getName()

Output only. Identifier. The name of the LfpStore resource. Format: accounts/{account}/lfpStores/{target_merchant}~{store_code}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. The name of the LfpStore resource. Format: accounts/{account}/lfpStores/{target_merchant}~{store_code}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPhoneNumber()

public String getPhoneNumber()

Optional. The store phone number in E.164 format. Example: +15556767888

optional string phone_number = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The phoneNumber.

getPhoneNumberBytes()

public ByteString getPhoneNumberBytes()

Optional. The store phone number in E.164 format. Example: +15556767888

optional string phone_number = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for phoneNumber.

getPlaceId()

public String getPlaceId()

Optional. The Google Place Id of the store location.

optional string place_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The placeId.

getPlaceIdBytes()

public ByteString getPlaceIdBytes()

Optional. The Google Place Id of the store location.

optional string place_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for placeId.

getStoreAddress()

public String getStoreAddress()

Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.

string store_address = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The storeAddress.

getStoreAddressBytes()

public ByteString getStoreAddressBytes()

Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.

string store_address = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for storeAddress.

getStoreCode()

public String getStoreCode()

Required. Immutable. A store identifier that is unique for the target merchant.

string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The storeCode.

getStoreCodeBytes()

public ByteString getStoreCodeBytes()

Required. Immutable. A store identifier that is unique for the target merchant.

string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for storeCode.

getStoreName()

public String getStoreName()

Optional. The merchant or store name.

optional string store_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The storeName.

getStoreNameBytes()

public ByteString getStoreNameBytes()

Optional. The merchant or store name.

optional string store_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for storeName.

getTargetAccount()

public long getTargetAccount()

Required. The Merchant Center id of the merchant to submit the store for.

int64 target_account = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The targetAccount.

getWebsiteUri()

public String getWebsiteUri()

Optional. The website URL for the store or merchant.

optional string website_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The websiteUri.

getWebsiteUriBytes()

public ByteString getWebsiteUriBytes()

Optional. The website URL for the store or merchant.

optional string website_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for websiteUri.

hasMatchingStateHint()

public boolean hasMatchingStateHint()

Optional. Output only. The hint of why the matching has failed. This is only set when matchingState=STORE_MATCHING_STATE_FAILED.

Possible values are:

  • "linked-store-not-found": There aren't any Google Business Profile stores available for matching.
  • "store-match-not-found": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but the LfpStore location address does not match with Google Business Profile stores' addresses. Update the LfpStore address or Google Business Profile store address to match correctly.
  • "store-match-unverified": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.

optional string matching_state_hint = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the matchingStateHint field is set.

hasPhoneNumber()

public boolean hasPhoneNumber()

Optional. The store phone number in E.164 format. Example: +15556767888

optional string phone_number = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the phoneNumber field is set.

hasPlaceId()

public boolean hasPlaceId()

Optional. The Google Place Id of the store location.

optional string place_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the placeId field is set.

hasStoreName()

public boolean hasStoreName()

Optional. The merchant or store name.

optional string store_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the storeName field is set.

hasWebsiteUri()

public boolean hasWebsiteUri()

Optional. The website URL for the store or merchant.

optional string website_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

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

mergeFrom(Message other)

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

mergeFrom(LfpStore other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcidCategory(int index, String value)

public LfpStore.Builder setGcidCategory(int index, String value)

Optional. Google My Business category id.

repeated string gcid_category = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The gcidCategory to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setMatchingState(LfpStore.StoreMatchingState value)

public LfpStore.Builder setMatchingState(LfpStore.StoreMatchingState value)

Optional. Output only. The state of matching to a Google Business Profile. See matchingStateHint for further details if no match is found.

.google.shopping.merchant.lfp.v1beta.LfpStore.StoreMatchingState matching_state = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LfpStore.StoreMatchingState

The matchingState to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setMatchingStateHint(String value)

public LfpStore.Builder setMatchingStateHint(String value)

Optional. Output only. The hint of why the matching has failed. This is only set when matchingState=STORE_MATCHING_STATE_FAILED.

Possible values are:

  • "linked-store-not-found": There aren't any Google Business Profile stores available for matching.
  • "store-match-not-found": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but the LfpStore location address does not match with Google Business Profile stores' addresses. Update the LfpStore address or Google Business Profile store address to match correctly.
  • "store-match-unverified": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.

optional string matching_state_hint = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The matchingStateHint to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setMatchingStateHintBytes(ByteString value)

public LfpStore.Builder setMatchingStateHintBytes(ByteString value)

Optional. Output only. The hint of why the matching has failed. This is only set when matchingState=STORE_MATCHING_STATE_FAILED.

Possible values are:

  • "linked-store-not-found": There aren't any Google Business Profile stores available for matching.
  • "store-match-not-found": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores. Merchant Center account is connected correctly and stores are available on Google Business Profile, but the LfpStore location address does not match with Google Business Profile stores' addresses. Update the LfpStore address or Google Business Profile store address to match correctly.
  • "store-match-unverified": The provided LfpStore couldn't be matched to any of the connected Google Business Profile stores, as the matched Google Business Profile store is unverified. Go through the Google Business Profile verification process to match correctly.

optional string matching_state_hint = 11 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for matchingStateHint to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setMatchingStateValue(int value)

public LfpStore.Builder setMatchingStateValue(int value)

Optional. Output only. The state of matching to a Google Business Profile. See matchingStateHint for further details if no match is found.

.google.shopping.merchant.lfp.v1beta.LfpStore.StoreMatchingState matching_state = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for matchingState to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setName(String value)

public LfpStore.Builder setName(String value)

Output only. Identifier. The name of the LfpStore resource. Format: accounts/{account}/lfpStores/{target_merchant}~{store_code}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LfpStore.Builder setNameBytes(ByteString value)

Output only. Identifier. The name of the LfpStore resource. Format: accounts/{account}/lfpStores/{target_merchant}~{store_code}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setPhoneNumber(String value)

public LfpStore.Builder setPhoneNumber(String value)

Optional. The store phone number in E.164 format. Example: +15556767888

optional string phone_number = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The phoneNumber to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setPhoneNumberBytes(ByteString value)

public LfpStore.Builder setPhoneNumberBytes(ByteString value)

Optional. The store phone number in E.164 format. Example: +15556767888

optional string phone_number = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for phoneNumber to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setPlaceId(String value)

public LfpStore.Builder setPlaceId(String value)

Optional. The Google Place Id of the store location.

optional string place_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The placeId to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setPlaceIdBytes(ByteString value)

public LfpStore.Builder setPlaceIdBytes(ByteString value)

Optional. The Google Place Id of the store location.

optional string place_id = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for placeId to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

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

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

setStoreAddress(String value)

public LfpStore.Builder setStoreAddress(String value)

Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.

string store_address = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The storeAddress to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setStoreAddressBytes(ByteString value)

public LfpStore.Builder setStoreAddressBytes(ByteString value)

Required. The street address of the store. Example: 1600 Amphitheatre Pkwy, Mountain View, CA 94043, USA.

string store_address = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for storeAddress to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setStoreCode(String value)

public LfpStore.Builder setStoreCode(String value)

Required. Immutable. A store identifier that is unique for the target merchant.

string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The storeCode to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setStoreCodeBytes(ByteString value)

public LfpStore.Builder setStoreCodeBytes(ByteString value)

Required. Immutable. A store identifier that is unique for the target merchant.

string store_code = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for storeCode to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setStoreName(String value)

public LfpStore.Builder setStoreName(String value)

Optional. The merchant or store name.

optional string store_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The storeName to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setStoreNameBytes(ByteString value)

public LfpStore.Builder setStoreNameBytes(ByteString value)

Optional. The merchant or store name.

optional string store_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for storeName to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setTargetAccount(long value)

public LfpStore.Builder setTargetAccount(long value)

Required. The Merchant Center id of the merchant to submit the store for.

int64 target_account = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The targetAccount to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setWebsiteUri(String value)

public LfpStore.Builder setWebsiteUri(String value)

Optional. The website URL for the store or merchant.

optional string website_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The websiteUri to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.

setWebsiteUriBytes(ByteString value)

public LfpStore.Builder setWebsiteUriBytes(ByteString value)

Optional. The website URL for the store or merchant.

optional string website_uri = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for websiteUri to set.

Returns
Type Description
LfpStore.Builder

This builder for chaining.