Interface CreateAndConfigureAccountRequestOrBuilder (0.3.0)

public interface CreateAndConfigureAccountRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceptTermsOfService()

public abstract 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 abstract 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 abstract 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 abstract 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

getService(int index)

public abstract CreateAndConfigureAccountRequest.AddAccountService getService(int index)

Optional. If specified, an account service between the account to be created and the provider account is initialized as part of the creation.

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

Parameter
Name Description
index int
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService

getServiceCount()

public abstract int getServiceCount()

Optional. If specified, an account service between the account to be created and the provider account is initialized as part of the creation.

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

Returns
Type Description
int

getServiceList()

public abstract List<CreateAndConfigureAccountRequest.AddAccountService> getServiceList()

Optional. If specified, an account service between the account to be created and the provider account is initialized as part of the creation.

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

Returns
Type Description
List<AddAccountService>

getServiceOrBuilder(int index)

public abstract CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder getServiceOrBuilder(int index)

Optional. If specified, an account service between the account to be created and the provider account is initialized as part of the creation.

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

Parameter
Name Description
index int
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder

getServiceOrBuilderList()

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

Optional. If specified, an account service between the account to be created and the provider account is initialized as part of the creation.

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

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

getUsers(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.