Class CreateAndConfigureAccountRequest.Builder (0.9.0)

public static final class CreateAndConfigureAccountRequest.Builder extends GeneratedMessageV3.Builder<CreateAndConfigureAccountRequest.Builder> implements CreateAndConfigureAccountRequestOrBuilder

Request message for the CreateAndConfigureAccount method.

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

Static Methods

getDescriptor()

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

Methods

addAllService(Iterable<? extends CreateAndConfigureAccountRequest.AddAccountService> values)

public CreateAndConfigureAccountRequest.Builder addAllService(Iterable<? extends CreateAndConfigureAccountRequest.AddAccountService> values)

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
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest.AddAccountService>
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addAllUsers(Iterable<? extends CreateUserRequest> values)

public CreateAndConfigureAccountRequest.Builder addAllUsers(Iterable<? extends CreateUserRequest> values)

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
values Iterable<? extends com.google.shopping.merchant.accounts.v1beta.CreateUserRequest>
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateAndConfigureAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

addService(CreateAndConfigureAccountRequest.AddAccountService value)

public CreateAndConfigureAccountRequest.Builder addService(CreateAndConfigureAccountRequest.AddAccountService value)

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
value CreateAndConfigureAccountRequest.AddAccountService
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addService(CreateAndConfigureAccountRequest.AddAccountService.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder addService(CreateAndConfigureAccountRequest.AddAccountService.Builder builderForValue)

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
builderForValue CreateAndConfigureAccountRequest.AddAccountService.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addService(int index, CreateAndConfigureAccountRequest.AddAccountService value)

public CreateAndConfigureAccountRequest.Builder addService(int index, CreateAndConfigureAccountRequest.AddAccountService value)

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];

Parameters
Name Description
index int
value CreateAndConfigureAccountRequest.AddAccountService
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addService(int index, CreateAndConfigureAccountRequest.AddAccountService.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder addService(int index, CreateAndConfigureAccountRequest.AddAccountService.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue CreateAndConfigureAccountRequest.AddAccountService.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addServiceBuilder()

public CreateAndConfigureAccountRequest.AddAccountService.Builder addServiceBuilder()

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
CreateAndConfigureAccountRequest.AddAccountService.Builder

addServiceBuilder(int index)

public CreateAndConfigureAccountRequest.AddAccountService.Builder addServiceBuilder(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.Builder

addUsers(CreateUserRequest value)

public CreateAndConfigureAccountRequest.Builder addUsers(CreateUserRequest value)

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
value CreateUserRequest
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addUsers(CreateUserRequest.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder addUsers(CreateUserRequest.Builder builderForValue)

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
builderForValue CreateUserRequest.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addUsers(int index, CreateUserRequest value)

public CreateAndConfigureAccountRequest.Builder addUsers(int index, CreateUserRequest value)

Optional. Users to be added to the account.

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

Parameters
Name Description
index int
value CreateUserRequest
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addUsers(int index, CreateUserRequest.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder addUsers(int index, CreateUserRequest.Builder builderForValue)

Optional. Users to be added to the account.

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

Parameters
Name Description
index int
builderForValue CreateUserRequest.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

addUsersBuilder()

public CreateUserRequest.Builder addUsersBuilder()

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
CreateUserRequest.Builder

addUsersBuilder(int index)

public CreateUserRequest.Builder addUsersBuilder(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.Builder

build()

public CreateAndConfigureAccountRequest build()
Returns
Type Description
CreateAndConfigureAccountRequest

buildPartial()

public CreateAndConfigureAccountRequest buildPartial()
Returns
Type Description
CreateAndConfigureAccountRequest

clear()

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

clearAcceptTermsOfService()

public CreateAndConfigureAccountRequest.Builder clearAcceptTermsOfService()

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.Builder

clearAccount()

public CreateAndConfigureAccountRequest.Builder clearAccount()

Required. The account to be created.

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

Returns
Type Description
CreateAndConfigureAccountRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateAndConfigureAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAndConfigureAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

clearService()

public CreateAndConfigureAccountRequest.Builder clearService()

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
CreateAndConfigureAccountRequest.Builder

clearUsers()

public CreateAndConfigureAccountRequest.Builder clearUsers()

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
CreateAndConfigureAccountRequest.Builder

clone()

public CreateAndConfigureAccountRequest.Builder clone()
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
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.

getAcceptTermsOfServiceBuilder()

public CreateAndConfigureAccountRequest.AcceptTermsOfService.Builder getAcceptTermsOfServiceBuilder()

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.Builder

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.

getAccountBuilder()

public Account.Builder getAccountBuilder()

Required. The account to be created.

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

Returns
Type Description
Account.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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

getServiceBuilder(int index)

public CreateAndConfigureAccountRequest.AddAccountService.Builder getServiceBuilder(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.Builder

getServiceBuilderList()

public List<CreateAndConfigureAccountRequest.AddAccountService.Builder> getServiceBuilderList()

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<Builder>

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

getUsersBuilder(int index)

public CreateUserRequest.Builder getUsersBuilder(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.Builder

getUsersBuilderList()

public List<CreateUserRequest.Builder> getUsersBuilderList()

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<Builder>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAcceptTermsOfService(CreateAndConfigureAccountRequest.AcceptTermsOfService value)

public CreateAndConfigureAccountRequest.Builder mergeAcceptTermsOfService(CreateAndConfigureAccountRequest.AcceptTermsOfService value)

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];

Parameter
Name Description
value CreateAndConfigureAccountRequest.AcceptTermsOfService
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

mergeAccount(Account value)

public CreateAndConfigureAccountRequest.Builder mergeAccount(Account value)

Required. The account to be created.

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

Parameter
Name Description
value Account
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAndConfigureAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(CreateAndConfigureAccountRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAndConfigureAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

removeService(int index)

public CreateAndConfigureAccountRequest.Builder removeService(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.Builder

removeUsers(int index)

public CreateAndConfigureAccountRequest.Builder removeUsers(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
CreateAndConfigureAccountRequest.Builder

setAcceptTermsOfService(CreateAndConfigureAccountRequest.AcceptTermsOfService value)

public CreateAndConfigureAccountRequest.Builder setAcceptTermsOfService(CreateAndConfigureAccountRequest.AcceptTermsOfService value)

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];

Parameter
Name Description
value CreateAndConfigureAccountRequest.AcceptTermsOfService
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

setAcceptTermsOfService(CreateAndConfigureAccountRequest.AcceptTermsOfService.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder setAcceptTermsOfService(CreateAndConfigureAccountRequest.AcceptTermsOfService.Builder builderForValue)

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];

Parameter
Name Description
builderForValue CreateAndConfigureAccountRequest.AcceptTermsOfService.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

setAccount(Account value)

public CreateAndConfigureAccountRequest.Builder setAccount(Account value)

Required. The account to be created.

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

Parameter
Name Description
value Account
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

setAccount(Account.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder setAccount(Account.Builder builderForValue)

Required. The account to be created.

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

Parameter
Name Description
builderForValue Account.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAndConfigureAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateAndConfigureAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

setService(int index, CreateAndConfigureAccountRequest.AddAccountService value)

public CreateAndConfigureAccountRequest.Builder setService(int index, CreateAndConfigureAccountRequest.AddAccountService value)

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];

Parameters
Name Description
index int
value CreateAndConfigureAccountRequest.AddAccountService
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

setService(int index, CreateAndConfigureAccountRequest.AddAccountService.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder setService(int index, CreateAndConfigureAccountRequest.AddAccountService.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue CreateAndConfigureAccountRequest.AddAccountService.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAndConfigureAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAndConfigureAccountRequest.Builder
Overrides

setUsers(int index, CreateUserRequest value)

public CreateAndConfigureAccountRequest.Builder setUsers(int index, CreateUserRequest value)

Optional. Users to be added to the account.

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

Parameters
Name Description
index int
value CreateUserRequest
Returns
Type Description
CreateAndConfigureAccountRequest.Builder

setUsers(int index, CreateUserRequest.Builder builderForValue)

public CreateAndConfigureAccountRequest.Builder setUsers(int index, CreateUserRequest.Builder builderForValue)

Optional. Users to be added to the account.

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

Parameters
Name Description
index int
builderForValue CreateUserRequest.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.Builder