public static final class ManageLoyaltyCustomerMatchRequest.Builder extends GeneratedMessage.Builder<ManageLoyaltyCustomerMatchRequest.Builder> implements ManageLoyaltyCustomerMatchRequestOrBuilderRequest message for the ManageLoyaltyCustomerMatch method.
Protobuf type
google.shopping.merchant.loyaltycustomers.v1.ManageLoyaltyCustomerMatchRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ManageLoyaltyCustomerMatchRequest.BuilderImplements
ManageLoyaltyCustomerMatchRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ManageLoyaltyCustomerMatchRequest build()| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest |
|
buildPartial()
public ManageLoyaltyCustomerMatchRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest |
|
clear()
public ManageLoyaltyCustomerMatchRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
clearLoyaltyCustomer()
public ManageLoyaltyCustomerMatchRequest.Builder clearLoyaltyCustomer()Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
clearParent()
public ManageLoyaltyCustomerMatchRequest.Builder clearParent() Required. The parent account where this loyalty customer will be handled.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ManageLoyaltyCustomerMatchRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLoyaltyCustomer()
public LoyaltyCustomer getLoyaltyCustomer()Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LoyaltyCustomer |
The loyaltyCustomer. |
getLoyaltyCustomerBuilder()
public LoyaltyCustomer.Builder getLoyaltyCustomerBuilder()Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LoyaltyCustomer.Builder |
|
getLoyaltyCustomerOrBuilder()
public LoyaltyCustomerOrBuilder getLoyaltyCustomerOrBuilder()Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
LoyaltyCustomerOrBuilder |
|
getParent()
public String getParent() Required. The parent account where this loyalty customer will be handled.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The parent account where this loyalty customer will be handled.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasLoyaltyCustomer()
public boolean hasLoyaltyCustomer()Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the loyaltyCustomer field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ManageLoyaltyCustomerMatchRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ManageLoyaltyCustomerMatchRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
mergeFrom(ManageLoyaltyCustomerMatchRequest other)
public ManageLoyaltyCustomerMatchRequest.Builder mergeFrom(ManageLoyaltyCustomerMatchRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ManageLoyaltyCustomerMatchRequest |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
mergeLoyaltyCustomer(LoyaltyCustomer value)
public ManageLoyaltyCustomerMatchRequest.Builder mergeLoyaltyCustomer(LoyaltyCustomer value)Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LoyaltyCustomer |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
setLoyaltyCustomer(LoyaltyCustomer value)
public ManageLoyaltyCustomerMatchRequest.Builder setLoyaltyCustomer(LoyaltyCustomer value)Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
LoyaltyCustomer |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
setLoyaltyCustomer(LoyaltyCustomer.Builder builderForValue)
public ManageLoyaltyCustomerMatchRequest.Builder setLoyaltyCustomer(LoyaltyCustomer.Builder builderForValue)Required. The loyalty customer to insert, update, or remove.
.google.shopping.merchant.loyaltycustomers.v1.LoyaltyCustomer loyalty_customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LoyaltyCustomer.Builder |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
|
setParent(String value)
public ManageLoyaltyCustomerMatchRequest.Builder setParent(String value) Required. The parent account where this loyalty customer will be handled.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ManageLoyaltyCustomerMatchRequest.Builder setParentBytes(ByteString value) Required. The parent account where this loyalty customer will be handled.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ManageLoyaltyCustomerMatchRequest.Builder |
This builder for chaining. |