Class LfpMerchantState.LfpStoreState.Builder (1.13.0)

public static final class LfpMerchantState.LfpStoreState.Builder extends GeneratedMessage.Builder<LfpMerchantState.LfpStoreState.Builder> implements LfpMerchantState.LfpStoreStateOrBuilder

The state of a specific merchant's store.

Protobuf type google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState

Static Methods

getDescriptor()

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

Methods

build()

public LfpMerchantState.LfpStoreState build()
Returns
Type Description
LfpMerchantState.LfpStoreState

buildPartial()

public LfpMerchantState.LfpStoreState buildPartial()
Returns
Type Description
LfpMerchantState.LfpStoreState

clear()

public LfpMerchantState.LfpStoreState.Builder clear()
Returns
Type Description
LfpMerchantState.LfpStoreState.Builder
Overrides

clearMatchingState()

public LfpMerchantState.LfpStoreState.Builder clearMatchingState()

Output only. The store matching state.

.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState matching_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

clearMatchingStateHint()

public LfpMerchantState.LfpStoreState.Builder clearMatchingStateHint()

The hint of why the matching has failed (only set if matching_state is FAILED).

string matching_state_hint = 3;

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

clearStoreCode()

public LfpMerchantState.LfpStoreState.Builder clearStoreCode()

Required. Immutable. The identifier of this store.

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

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

getDefaultInstanceForType()

public LfpMerchantState.LfpStoreState getDefaultInstanceForType()
Returns
Type Description
LfpMerchantState.LfpStoreState

getDescriptorForType()

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

getMatchingState()

public LfpMerchantState.LfpStoreState.StoreMatchingState getMatchingState()

Output only. The store matching state.

.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState matching_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LfpMerchantState.LfpStoreState.StoreMatchingState

The matchingState.

getMatchingStateHint()

public String getMatchingStateHint()

The hint of why the matching has failed (only set if matching_state is FAILED).

string matching_state_hint = 3;

Returns
Type Description
String

The matchingStateHint.

getMatchingStateHintBytes()

public ByteString getMatchingStateHintBytes()

The hint of why the matching has failed (only set if matching_state is FAILED).

string matching_state_hint = 3;

Returns
Type Description
ByteString

The bytes for matchingStateHint.

getMatchingStateValue()

public int getMatchingStateValue()

Output only. The store matching state.

.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState matching_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for matchingState.

getStoreCode()

public String getStoreCode()

Required. Immutable. The identifier of this store.

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

Returns
Type Description
String

The storeCode.

getStoreCodeBytes()

public ByteString getStoreCodeBytes()

Required. Immutable. The identifier of this store.

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

Returns
Type Description
ByteString

The bytes for storeCode.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LfpMerchantState.LfpStoreState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LfpMerchantState.LfpStoreState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(LfpMerchantState.LfpStoreState other)

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

setMatchingState(LfpMerchantState.LfpStoreState.StoreMatchingState value)

public LfpMerchantState.LfpStoreState.Builder setMatchingState(LfpMerchantState.LfpStoreState.StoreMatchingState value)

Output only. The store matching state.

.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState matching_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value LfpMerchantState.LfpStoreState.StoreMatchingState

The matchingState to set.

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

setMatchingStateHint(String value)

public LfpMerchantState.LfpStoreState.Builder setMatchingStateHint(String value)

The hint of why the matching has failed (only set if matching_state is FAILED).

string matching_state_hint = 3;

Parameter
Name Description
value String

The matchingStateHint to set.

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

setMatchingStateHintBytes(ByteString value)

public LfpMerchantState.LfpStoreState.Builder setMatchingStateHintBytes(ByteString value)

The hint of why the matching has failed (only set if matching_state is FAILED).

string matching_state_hint = 3;

Parameter
Name Description
value ByteString

The bytes for matchingStateHint to set.

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

setMatchingStateValue(int value)

public LfpMerchantState.LfpStoreState.Builder setMatchingStateValue(int value)

Output only. The store matching state.

.google.shopping.merchant.lfp.v1beta.LfpMerchantState.LfpStoreState.StoreMatchingState matching_state = 2 [(.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
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

setStoreCode(String value)

public LfpMerchantState.LfpStoreState.Builder setStoreCode(String value)

Required. Immutable. The identifier of this store.

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

Parameter
Name Description
value String

The storeCode to set.

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.

setStoreCodeBytes(ByteString value)

public LfpMerchantState.LfpStoreState.Builder setStoreCodeBytes(ByteString value)

Required. Immutable. The identifier of this store.

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

Parameter
Name Description
value ByteString

The bytes for storeCode to set.

Returns
Type Description
LfpMerchantState.LfpStoreState.Builder

This builder for chaining.