public static final class CreateCheckoutSettingsRequest.Builder extends GeneratedMessage.Builder<CreateCheckoutSettingsRequest.Builder> implements CreateCheckoutSettingsRequestOrBuilder Request message for the CreateCheckoutSettings method.
Protobuf type google.shopping.merchant.accounts.v1.CreateCheckoutSettingsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateCheckoutSettingsRequest.BuilderImplements
CreateCheckoutSettingsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateCheckoutSettingsRequest build()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
buildPartial()
public CreateCheckoutSettingsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
clear()
public CreateCheckoutSettingsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
clearCheckoutSettings()
public CreateCheckoutSettingsRequest.Builder clearCheckoutSettings() Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
clearParent()
public CreateCheckoutSettingsRequest.Builder clearParent() Required. The merchant account for which the CheckoutSettings will be
created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
This builder for chaining. |
getCheckoutSettings()
public CheckoutSettings getCheckoutSettings() Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CheckoutSettings |
The checkoutSettings. |
getCheckoutSettingsBuilder()
public CheckoutSettings.Builder getCheckoutSettingsBuilder() Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CheckoutSettings.Builder |
|
getCheckoutSettingsOrBuilder()
public CheckoutSettingsOrBuilder getCheckoutSettingsOrBuilder() Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CheckoutSettingsOrBuilder |
|
getDefaultInstanceForType()
public CreateCheckoutSettingsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The merchant account for which the CheckoutSettings will be
created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The merchant account for which the CheckoutSettings will be
created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasCheckoutSettings()
public boolean hasCheckoutSettings() Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the checkoutSettings field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCheckoutSettings(CheckoutSettings value)
public CreateCheckoutSettingsRequest.Builder mergeCheckoutSettings(CheckoutSettings value) Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CheckoutSettings |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCheckoutSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateCheckoutSettingsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
mergeFrom(CreateCheckoutSettingsRequest other)
public CreateCheckoutSettingsRequest.Builder mergeFrom(CreateCheckoutSettingsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateCheckoutSettingsRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
setCheckoutSettings(CheckoutSettings value)
public CreateCheckoutSettingsRequest.Builder setCheckoutSettings(CheckoutSettings value) Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
CheckoutSettings |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
setCheckoutSettings(CheckoutSettings.Builder builderForValue)
public CreateCheckoutSettingsRequest.Builder setCheckoutSettings(CheckoutSettings.Builder builderForValue) Required. The CheckoutSettings object to create.
.google.shopping.merchant.accounts.v1.CheckoutSettings checkout_settings = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CheckoutSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
setParent(String value)
public CreateCheckoutSettingsRequest.Builder setParent(String value) Required. The merchant account for which the CheckoutSettings will be
created.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateCheckoutSettingsRequest.Builder setParentBytes(ByteString value) Required. The merchant account for which the CheckoutSettings will be
created.
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 |
CreateCheckoutSettingsRequest.Builder |
This builder for chaining. |