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
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
, 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>
|
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>
|
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
, 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];
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];
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];
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];
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];
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
|
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];
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];
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];
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];
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];
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
|
public CreateAndConfigureAccountRequest build()
public CreateAndConfigureAccountRequest buildPartial()
public CreateAndConfigureAccountRequest.Builder clear()
Overrides
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];
public CreateAndConfigureAccountRequest.Builder clearAccount()
Required. The account to be created.
.google.shopping.merchant.accounts.v1beta.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
, 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];
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];
public CreateAndConfigureAccountRequest.Builder clone()
Overrides
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];
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];
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];
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.
|
public Account.Builder getAccountBuilder()
Required. The account to be created.
.google.shopping.merchant.accounts.v1beta.Account account = 1 [(.google.api.field_behavior) = REQUIRED];
public AccountOrBuilder getAccountOrBuilder()
Required. The account to be created.
.google.shopping.merchant.accounts.v1beta.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
, 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
|
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
|
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];
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 |
|
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];
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
|
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> |
|
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
|
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
|
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];
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 |
|
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];
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
|
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> |
|
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
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
|
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
, 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
|
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
|
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];
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];
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
|
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];
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
, 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];
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];
public final CreateAndConfigureAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];