public final class CreateAndConfigureAccountRequest extends GeneratedMessageV3 implements CreateAndConfigureAccountRequestOrBuilder
Request message for the CreateAndConfigureAccount
method.
Protobuf type google.shopping.merchant.accounts.v1beta.CreateAndConfigureAccountRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ACCEPT_TERMS_OF_SERVICE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SERVICE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int USERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static CreateAndConfigureAccountRequest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CreateAndConfigureAccountRequest.Builder newBuilder()
public static CreateAndConfigureAccountRequest.Builder newBuilder(CreateAndConfigureAccountRequest prototype)
public static CreateAndConfigureAccountRequest parseDelimitedFrom(InputStream input)
public static CreateAndConfigureAccountRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static CreateAndConfigureAccountRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest parseFrom(ByteString data)
public static CreateAndConfigureAccountRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest parseFrom(CodedInputStream input)
public static CreateAndConfigureAccountRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest parseFrom(InputStream input)
public static CreateAndConfigureAccountRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest parseFrom(ByteBuffer data)
public static CreateAndConfigureAccountRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CreateAndConfigureAccountRequest> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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.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 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 Parser<CreateAndConfigureAccountRequest> getParserForType()
Overrides
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
public 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
|
public 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 |
|
public 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];
public 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
|
public 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> |
|
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 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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateAndConfigureAccountRequest.Builder newBuilderForType()
protected CreateAndConfigureAccountRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public CreateAndConfigureAccountRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides