Class CreateAndConfigureAccountRequest (0.7.0)

public final class CreateAndConfigureAccountRequest extends GeneratedMessageV3 implements CreateAndConfigureAccountRequestOrBuilder

Request message for the CreateAndConfigureAccount method.

Protobuf type google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateAndConfigureAccountRequest

Static Fields

ACCEPT_TERMS_OF_SERVICE_FIELD_NUMBER

public static final int ACCEPT_TERMS_OF_SERVICE_FIELD_NUMBER
Field Value
Type Description
int

ACCOUNT_FIELD_NUMBER

public static final int ACCOUNT_FIELD_NUMBER
Field Value
Type Description
int

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
Type Description
int

USERS_FIELD_NUMBER

public static final int USERS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateAndConfigureAccountRequest getDefaultInstance()
Returns
Type Description
CreateAndConfigureAccountRequest

getDescriptor()

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

newBuilder()

public static CreateAndConfigureAccountRequest.Builder newBuilder()
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

newBuilder(CreateAndConfigureAccountRequest prototype)

public static CreateAndConfigureAccountRequest.Builder newBuilder(CreateAndConfigureAccountRequest prototype)
Parameter
Name Description
prototype CreateAndConfigureAccountRequest
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

parseDelimitedFrom(InputStream input)

public static CreateAndConfigureAccountRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateAndConfigureAccountRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateAndConfigureAccountRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateAndConfigureAccountRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateAndConfigureAccountRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateAndConfigureAccountRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateAndConfigureAccountRequest> parser()
Returns
Type Description
Parser<CreateAndConfigureAccountRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAcceptTermsOfService()

public CreateAndConfigureAccountRequest.AcceptTermsOfService getAcceptTermsOfService()

Optional. The Terms of Service (ToS) to be accepted immediately upon account creation.

optional .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AcceptTermsOfService accept_terms_of_service = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateAndConfigureAccountRequest.AcceptTermsOfService

The acceptTermsOfService.

getAcceptTermsOfServiceOrBuilder()

public CreateAndConfigureAccountRequest.AcceptTermsOfServiceOrBuilder getAcceptTermsOfServiceOrBuilder()

Optional. The Terms of Service (ToS) to be accepted immediately upon account creation.

optional .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AcceptTermsOfService accept_terms_of_service = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateAndConfigureAccountRequest.AcceptTermsOfServiceOrBuilder

getAccount()

public Account getAccount()

Required. The account to be created.

.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Account

The account.

getAccountOrBuilder()

public AccountOrBuilder getAccountOrBuilder()

Required. The account to be created.

.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AccountOrBuilder

getDefaultInstanceForType()

public CreateAndConfigureAccountRequest getDefaultInstanceForType()
Returns
Type Description
CreateAndConfigureAccountRequest

getParserForType()

public Parser<CreateAndConfigureAccountRequest> getParserForType()
Returns
Type Description
Parser<CreateAndConfigureAccountRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getService(int index)

public CreateAndConfigureAccountRequest.AddAccountService getService(int index)

Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be account_aggregation, which means you can only create sub accounts, not standalone account through this method. Additional account_management or product_management services may be provided.

repeated .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService

getServiceCount()

public int getServiceCount()

Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be account_aggregation, which means you can only create sub accounts, not standalone account through this method. Additional account_management or product_management services may be provided.

repeated .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getServiceList()

public List<CreateAndConfigureAccountRequest.AddAccountService> getServiceList()

Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be account_aggregation, which means you can only create sub accounts, not standalone account through this method. Additional account_management or product_management services may be provided.

repeated .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<AddAccountService>

getServiceOrBuilder(int index)

public CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder getServiceOrBuilder(int index)

Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be account_aggregation, which means you can only create sub accounts, not standalone account through this method. Additional account_management or product_management services may be provided.

repeated .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder

getServiceOrBuilderList()

public List<? extends CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder> getServiceOrBuilderList()

Required. An account service between the account to be created and the provider account is initialized as part of the creation. At least one such service needs to be provided. Currently exactly one of these needs to be account_aggregation, which means you can only create sub accounts, not standalone account through this method. Additional account_management or product_management services may be provided.

repeated .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder>

getUsers(int index)

public CreateUserRequest getUsers(int index)

Optional. Users to be added to the account.

repeated .google.shopping.merchant.accounts.v1beta.CreateUserRequest users = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CreateUserRequest

getUsersCount()

public int getUsersCount()

Optional. Users to be added to the account.

repeated .google.shopping.merchant.accounts.v1beta.CreateUserRequest users = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getUsersList()

public List<CreateUserRequest> getUsersList()

Optional. Users to be added to the account.

repeated .google.shopping.merchant.accounts.v1beta.CreateUserRequest users = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CreateUserRequest>

getUsersOrBuilder(int index)

public CreateUserRequestOrBuilder getUsersOrBuilder(int index)

Optional. Users to be added to the account.

repeated .google.shopping.merchant.accounts.v1beta.CreateUserRequest users = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CreateUserRequestOrBuilder

getUsersOrBuilderList()

public List<? extends CreateUserRequestOrBuilder> getUsersOrBuilderList()

Optional. Users to be added to the account.

repeated .google.shopping.merchant.accounts.v1beta.CreateUserRequest users = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.shopping.merchant.accounts.v1beta.CreateUserRequestOrBuilder>

hasAcceptTermsOfService()

public boolean hasAcceptTermsOfService()

Optional. The Terms of Service (ToS) to be accepted immediately upon account creation.

optional .google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AcceptTermsOfService accept_terms_of_service = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the acceptTermsOfService field is set.

hasAccount()

public boolean hasAccount()

Required. The account to be created.

.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the account field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateAndConfigureAccountRequest.Builder newBuilderForType()
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateAndConfigureAccountRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CreateAndConfigureAccountRequest.Builder toBuilder()
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException