public static final class CreateAndConfigureAccountRequest.Builder extends GeneratedMessage.Builder<CreateAndConfigureAccountRequest.Builder> implements CreateAndConfigureAccountRequestOrBuilder Request message for the CreateAndConfigureAccount method.
Protobuf type google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAndConfigureAccountRequest.BuilderImplements
CreateAndConfigureAccountRequestOrBuilderStatic 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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService> |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addAllSetAlias(Iterable<? extends CreateAndConfigureAccountRequest.SetAliasForRelationship> values)
public CreateAndConfigureAccountRequest.Builder addAllSetAlias(Iterable<? extends CreateAndConfigureAccountRequest.SetAliasForRelationship> values)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship> |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addAllUser(Iterable<? extends CreateAndConfigureAccountRequest.AddUser> values)
public CreateAndConfigureAccountRequest.Builder addAllUser(Iterable<? extends CreateAndConfigureAccountRequest.AddUser> values)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser> |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddAccountService.Builder |
|
addSetAlias(CreateAndConfigureAccountRequest.SetAliasForRelationship value)
public CreateAndConfigureAccountRequest.Builder addSetAlias(CreateAndConfigureAccountRequest.SetAliasForRelationship value)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addSetAlias(CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder builderForValue)
public CreateAndConfigureAccountRequest.Builder addSetAlias(CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder builderForValue)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship value)
public CreateAndConfigureAccountRequest.Builder addSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship value)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder builderForValue)
public CreateAndConfigureAccountRequest.Builder addSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder builderForValue)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addSetAliasBuilder()
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder addSetAliasBuilder()Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
|
addSetAliasBuilder(int index)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder addSetAliasBuilder(int index)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
|
addUser(CreateAndConfigureAccountRequest.AddUser value)
public CreateAndConfigureAccountRequest.Builder addUser(CreateAndConfigureAccountRequest.AddUser value)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
CreateAndConfigureAccountRequest.AddUser |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addUser(CreateAndConfigureAccountRequest.AddUser.Builder builderForValue)
public CreateAndConfigureAccountRequest.Builder addUser(CreateAndConfigureAccountRequest.AddUser.Builder builderForValue)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CreateAndConfigureAccountRequest.AddUser.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addUser(int index, CreateAndConfigureAccountRequest.AddUser value)
public CreateAndConfigureAccountRequest.Builder addUser(int index, CreateAndConfigureAccountRequest.AddUser value)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreateAndConfigureAccountRequest.AddUser |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addUser(int index, CreateAndConfigureAccountRequest.AddUser.Builder builderForValue)
public CreateAndConfigureAccountRequest.Builder addUser(int index, CreateAndConfigureAccountRequest.AddUser.Builder builderForValue)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreateAndConfigureAccountRequest.AddUser.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
addUserBuilder()
public CreateAndConfigureAccountRequest.AddUser.Builder addUserBuilder()Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
addUserBuilder(int index)
public CreateAndConfigureAccountRequest.AddUser.Builder addUserBuilder(int index)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.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 |
|
clearAccount()
public CreateAndConfigureAccountRequest.Builder clearAccount()Required. The account to be created.
.google.shopping.merchant.accounts.v1.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
clearSetAlias()
public CreateAndConfigureAccountRequest.Builder clearSetAlias()Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
clearUser()
public CreateAndConfigureAccountRequest.Builder clearUser()Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
getAccount()
public Account getAccount()Required. The account to be created.
.google.shopping.merchant.accounts.v1.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.v1.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.v1.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 |
|
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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder> |
|
getSetAlias(int index)
public CreateAndConfigureAccountRequest.SetAliasForRelationship getSetAlias(int index)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
|
getSetAliasBuilder(int index)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder getSetAliasBuilder(int index)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
|
getSetAliasBuilderList()
public List<CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder> getSetAliasBuilderList()Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSetAliasCount()
public int getSetAliasCount()Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSetAliasList()
public List<CreateAndConfigureAccountRequest.SetAliasForRelationship> getSetAliasList()Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<SetAliasForRelationship> |
|
getSetAliasOrBuilder(int index)
public CreateAndConfigureAccountRequest.SetAliasForRelationshipOrBuilder getSetAliasOrBuilder(int index)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationshipOrBuilder |
|
getSetAliasOrBuilderList()
public List<? extends CreateAndConfigureAccountRequest.SetAliasForRelationshipOrBuilder> getSetAliasOrBuilderList()Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationshipOrBuilder> |
|
getUser(int index)
public CreateAndConfigureAccountRequest.AddUser getUser(int index)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser |
|
getUserBuilder(int index)
public CreateAndConfigureAccountRequest.AddUser.Builder getUserBuilder(int index)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUser.Builder |
|
getUserBuilderList()
public List<CreateAndConfigureAccountRequest.AddUser.Builder> getUserBuilderList()Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getUserCount()
public int getUserCount()Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getUserList()
public List<CreateAndConfigureAccountRequest.AddUser> getUserList()Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AddUser> |
|
getUserOrBuilder(int index)
public CreateAndConfigureAccountRequest.AddUserOrBuilder getUserOrBuilder(int index)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.AddUserOrBuilder |
|
getUserOrBuilderList()
public List<? extends CreateAndConfigureAccountRequest.AddUserOrBuilder> getUserOrBuilderList()Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUserOrBuilder> |
|
hasAccount()
public boolean hasAccount()Required. The account to be created.
.google.shopping.merchant.accounts.v1.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the account field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAccount(Account value)
public CreateAndConfigureAccountRequest.Builder mergeAccount(Account value)Required. The account to be created.
.google.shopping.merchant.accounts.v1.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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAndConfigureAccountRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
mergeFrom(CreateAndConfigureAccountRequest other)
public CreateAndConfigureAccountRequest.Builder mergeFrom(CreateAndConfigureAccountRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAndConfigureAccountRequest |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
removeSetAlias(int index)
public CreateAndConfigureAccountRequest.Builder removeSetAlias(int index)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
removeUser(int index)
public CreateAndConfigureAccountRequest.Builder removeUser(int index)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
setAccount(Account value)
public CreateAndConfigureAccountRequest.Builder setAccount(Account value)Required. The account to be created.
.google.shopping.merchant.accounts.v1.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.v1.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Account.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.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 and accounts.createAndConfigure method can be
used to create a sub-account under an existing advanced account through
this method. Additional account_management or
products_management services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreateAndConfigureAccountRequest.AddAccountService.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
setSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship value)
public CreateAndConfigureAccountRequest.Builder setSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship value)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
setSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder builderForValue)
public CreateAndConfigureAccountRequest.Builder setSetAlias(int index, CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder builderForValue)Optional. If a relationship is created with a provider, you can set an alias for it with this field. The calling user must be an admin on the provider to be able to set an alias.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship set_alias = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
setUser(int index, CreateAndConfigureAccountRequest.AddUser value)
public CreateAndConfigureAccountRequest.Builder setUser(int index, CreateAndConfigureAccountRequest.AddUser value)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CreateAndConfigureAccountRequest.AddUser |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|
setUser(int index, CreateAndConfigureAccountRequest.AddUser.Builder builderForValue)
public CreateAndConfigureAccountRequest.Builder setUser(int index, CreateAndConfigureAccountRequest.AddUser.Builder builderForValue)Optional. Users to be added to the account.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddUser user = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CreateAndConfigureAccountRequest.AddUser.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.Builder |
|