Class ManageLoyaltyCustomerMatchResponse.Builder (0.3.0)

public static final class ManageLoyaltyCustomerMatchResponse.Builder extends GeneratedMessage.Builder<ManageLoyaltyCustomerMatchResponse.Builder> implements ManageLoyaltyCustomerMatchResponseOrBuilder

Response message for the ManageLoyaltyCustomerMatch method.

Protobuf type google.shopping.merchant.loyaltycustomers.v1.ManageLoyaltyCustomerMatchResponse

Static Methods

getDescriptor()

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

Methods

build()

public ManageLoyaltyCustomerMatchResponse build()
Returns
Type Description
ManageLoyaltyCustomerMatchResponse

buildPartial()

public ManageLoyaltyCustomerMatchResponse buildPartial()
Returns
Type Description
ManageLoyaltyCustomerMatchResponse

clear()

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

clearLoyaltyCustomer()

public ManageLoyaltyCustomerMatchResponse.Builder clearLoyaltyCustomer()

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Returns
Type Description
ManageLoyaltyCustomerMatchResponse.Builder

getDefaultInstanceForType()

public ManageLoyaltyCustomerMatchResponse getDefaultInstanceForType()
Returns
Type Description
ManageLoyaltyCustomerMatchResponse

getDescriptorForType()

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

getLoyaltyCustomer()

public LoyaltyCustomer getLoyaltyCustomer()

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Returns
Type Description
LoyaltyCustomer

The loyaltyCustomer.

getLoyaltyCustomerBuilder()

public LoyaltyCustomer.Builder getLoyaltyCustomerBuilder()

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Returns
Type Description
LoyaltyCustomer.Builder

getLoyaltyCustomerOrBuilder()

public LoyaltyCustomerOrBuilder getLoyaltyCustomerOrBuilder()

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Returns
Type Description
LoyaltyCustomerOrBuilder

hasLoyaltyCustomer()

public boolean hasLoyaltyCustomer()

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Returns
Type Description
boolean

Whether the loyaltyCustomer field is set.

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

mergeFrom(Message other)

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

mergeFrom(ManageLoyaltyCustomerMatchResponse other)

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

mergeLoyaltyCustomer(LoyaltyCustomer value)

public ManageLoyaltyCustomerMatchResponse.Builder mergeLoyaltyCustomer(LoyaltyCustomer value)

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Parameter
Name Description
value LoyaltyCustomer
Returns
Type Description
ManageLoyaltyCustomerMatchResponse.Builder

setLoyaltyCustomer(LoyaltyCustomer value)

public ManageLoyaltyCustomerMatchResponse.Builder setLoyaltyCustomer(LoyaltyCustomer value)

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Parameter
Name Description
value LoyaltyCustomer
Returns
Type Description
ManageLoyaltyCustomerMatchResponse.Builder

setLoyaltyCustomer(LoyaltyCustomer.Builder builderForValue)

public ManageLoyaltyCustomerMatchResponse.Builder setLoyaltyCustomer(LoyaltyCustomer.Builder builderForValue)

The loyalty customer that was inserted, updated, or removed. If the customer's identifier cannot be matched to a Google account or if the user has not opted into loyalty personalization, this field will contain a default LoyaltyCustomer instance.

.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 1;

Parameter
Name Description
builderForValue LoyaltyCustomer.Builder
Returns
Type Description
ManageLoyaltyCustomerMatchResponse.Builder