public final class CreateAndConfigureAccountRequest extends GeneratedMessage implements CreateAndConfigureAccountRequestOrBuilder
Request message for the CreateAndConfigureAccount method.
Protobuf type google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
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 SET_ALIAS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int USER_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 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 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 Parser<CreateAndConfigureAccountRequest> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
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 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.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
|
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 |
|
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];
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
|
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> |
|
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 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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateAndConfigureAccountRequest.Builder newBuilderForType()
protected CreateAndConfigureAccountRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public CreateAndConfigureAccountRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides