public final class CreateCheckoutSettingsRequest extends GeneratedMessage implements CreateCheckoutSettingsRequestOrBuilder Request message for the CreateCheckoutSettings method.
Protobuf type google.shopping.merchant.accounts.v1.CreateCheckoutSettingsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreateCheckoutSettingsRequestImplements
CreateCheckoutSettingsRequestOrBuilderStatic Fields
CHECKOUT_SETTINGS_FIELD_NUMBER
public static final int CHECKOUT_SETTINGS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CreateCheckoutSettingsRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CreateCheckoutSettingsRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
newBuilder(CreateCheckoutSettingsRequest prototype)
public static CreateCheckoutSettingsRequest.Builder newBuilder(CreateCheckoutSettingsRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CreateCheckoutSettingsRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static CreateCheckoutSettingsRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateCheckoutSettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CreateCheckoutSettingsRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateCheckoutSettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CreateCheckoutSettingsRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateCheckoutSettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CreateCheckoutSettingsRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateCheckoutSettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CreateCheckoutSettingsRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateCheckoutSettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CreateCheckoutSettingsRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateCheckoutSettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CreateCheckoutSettingsRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CreateCheckoutSettingsRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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. |
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 |
|
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. |
getParserForType()
public Parser<CreateCheckoutSettingsRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CreateCheckoutSettingsRequest> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CreateCheckoutSettingsRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CreateCheckoutSettingsRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
toBuilder()
public CreateCheckoutSettingsRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CreateCheckoutSettingsRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|