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.v1.CreateAndConfigureAccountRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
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
product_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>
|
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>
|
public CreateAndConfigureAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_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
|
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];
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];
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];
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];
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];
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
|
public CreateAndConfigureAccountRequest build()
public CreateAndConfigureAccountRequest buildPartial()
public CreateAndConfigureAccountRequest.Builder clear()
Overrides
public CreateAndConfigureAccountRequest.Builder clearAccount()
Required. The account to be created.
.google.shopping.merchant.accounts.v1.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
public CreateAndConfigureAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public CreateAndConfigureAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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];
public CreateAndConfigureAccountRequest.Builder clone()
Overrides
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.
|
public Account.Builder getAccountBuilder()
Required. The account to be created.
.google.shopping.merchant.accounts.v1.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
public AccountOrBuilder getAccountOrBuilder()
Required. The account to be created.
.google.shopping.merchant.accounts.v1.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
public CreateAndConfigureAccountRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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
product_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
|
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
product_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
|
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_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
|
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
product_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> |
|
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
|
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
|
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];
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 |
|
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];
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
|
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> |
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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
|
public CreateAndConfigureAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public CreateAndConfigureAccountRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public CreateAndConfigureAccountRequest.Builder mergeFrom(CreateAndConfigureAccountRequest other)
public final CreateAndConfigureAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
product_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
|
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
|
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
|
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];
public CreateAndConfigureAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public CreateAndConfigureAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
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
product_management
services may be provided.
repeated .google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService service = 4 [(.google.api.field_behavior) = REQUIRED];
public final CreateAndConfigureAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];