Class LfpMerchantState.LfpStoreState.Builder (0.23.0)

public static final class LfpMerchantState.LfpStoreState.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public LfpMerchantState.LfpStoreState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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