Class CreateAndConfigureAccountRequest.AddAccountService (1.11.0)

public static final class CreateAndConfigureAccountRequest.AddAccountService extends GeneratedMessage implements CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder

Additional instructions to add account services during creation of the account.

Protobuf type google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.AddAccountService

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CreateAndConfigureAccountRequest.AddAccountService

Static Fields

ACCOUNT_AGGREGATION_FIELD_NUMBER

public static final int ACCOUNT_AGGREGATION_FIELD_NUMBER
Field Value
Type Description
int

ACCOUNT_MANAGEMENT_FIELD_NUMBER

public static final int ACCOUNT_MANAGEMENT_FIELD_NUMBER
Field Value
Type Description
int

CAMPAIGNS_MANAGEMENT_FIELD_NUMBER

public static final int CAMPAIGNS_MANAGEMENT_FIELD_NUMBER
Field Value
Type Description
int

COMPARISON_SHOPPING_FIELD_NUMBER

public static final int COMPARISON_SHOPPING_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_ACCOUNT_ID_FIELD_NUMBER

public static final int EXTERNAL_ACCOUNT_ID_FIELD_NUMBER
Field Value
Type Description
int

PRODUCTS_MANAGEMENT_FIELD_NUMBER

public static final int PRODUCTS_MANAGEMENT_FIELD_NUMBER
Field Value
Type Description
int

PROVIDER_FIELD_NUMBER

public static final int PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateAndConfigureAccountRequest.AddAccountService getDefaultInstance()
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilder()
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

newBuilder(CreateAndConfigureAccountRequest.AddAccountService prototype)

public static CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilder(CreateAndConfigureAccountRequest.AddAccountService prototype)
Parameter
Name Description
prototype CreateAndConfigureAccountRequest.AddAccountService
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

parseDelimitedFrom(InputStream input)

public static CreateAndConfigureAccountRequest.AddAccountService parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest.AddAccountService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CreateAndConfigureAccountRequest.AddAccountService> parser()
Returns
Type Description
Parser<AddAccountService>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAccountAggregation()

public AccountAggregation getAccountAggregation()

The provider is an aggregator for the account. Payload for service type Account Aggregation.

.google.shopping.merchant.accounts.v1.AccountAggregation account_aggregation = 103;

Returns
Type Description
AccountAggregation

The accountAggregation.

getAccountAggregationOrBuilder()

public AccountAggregationOrBuilder getAccountAggregationOrBuilder()

The provider is an aggregator for the account. Payload for service type Account Aggregation.

.google.shopping.merchant.accounts.v1.AccountAggregation account_aggregation = 103;

Returns
Type Description
AccountAggregationOrBuilder

getAccountManagement()

public AccountManagement getAccountManagement()

The provider manages this account. Payload for service type Account Management.

.google.shopping.merchant.accounts.v1.AccountManagement account_management = 104;

Returns
Type Description
AccountManagement

The accountManagement.

getAccountManagementOrBuilder()

public AccountManagementOrBuilder getAccountManagementOrBuilder()

The provider manages this account. Payload for service type Account Management.

.google.shopping.merchant.accounts.v1.AccountManagement account_management = 104;

Returns
Type Description
AccountManagementOrBuilder

getCampaignsManagement()

public CampaignsManagement getCampaignsManagement()

The provider manages campaigns for this account. Payload for service type campaigns management.

.google.shopping.merchant.accounts.v1.CampaignsManagement campaigns_management = 107;

Returns
Type Description
CampaignsManagement

The campaignsManagement.

getCampaignsManagementOrBuilder()

public CampaignsManagementOrBuilder getCampaignsManagementOrBuilder()

The provider manages campaigns for this account. Payload for service type campaigns management.

.google.shopping.merchant.accounts.v1.CampaignsManagement campaigns_management = 107;

Returns
Type Description
CampaignsManagementOrBuilder

getComparisonShopping()

public ComparisonShopping getComparisonShopping()

The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping.

.google.shopping.merchant.accounts.v1.ComparisonShopping comparison_shopping = 105;

Returns
Type Description
ComparisonShopping

The comparisonShopping.

getComparisonShoppingOrBuilder()

public ComparisonShoppingOrBuilder getComparisonShoppingOrBuilder()

The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping.

.google.shopping.merchant.accounts.v1.ComparisonShopping comparison_shopping = 105;

Returns
Type Description
ComparisonShoppingOrBuilder

getDefaultInstanceForType()

public CreateAndConfigureAccountRequest.AddAccountService getDefaultInstanceForType()
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService

getExternalAccountId()

public String getExternalAccountId()

Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify).

If you have multiple accounts with the same provider - for instance, different accounts for various regions — the external_account_id differentiates between them, ensuring accurate linking and integration between Google and the provider.

The external account ID must be specified for the campaigns management service type.

The external account ID must not be specified for the account aggregation service type.

The external account ID is optional / may be specified for all other service types.

string external_account_id = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The externalAccountId.

getExternalAccountIdBytes()

public ByteString getExternalAccountIdBytes()

Immutable. An optional, immutable identifier that Google uses to refer to this account when communicating with the provider. This should be the unique account ID within the provider's system (for example, your shop ID in Shopify).

If you have multiple accounts with the same provider - for instance, different accounts for various regions — the external_account_id differentiates between them, ensuring accurate linking and integration between Google and the provider.

The external account ID must be specified for the campaigns management service type.

The external account ID must not be specified for the account aggregation service type.

The external account ID is optional / may be specified for all other service types.

string external_account_id = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for externalAccountId.

getParserForType()

public Parser<CreateAndConfigureAccountRequest.AddAccountService> getParserForType()
Returns
Type Description
Parser<AddAccountService>
Overrides

getProductsManagement()

public ProductsManagement getProductsManagement()

The provider manages products for this account. Payload for service type products management.

.google.shopping.merchant.accounts.v1.ProductsManagement products_management = 106;

Returns
Type Description
ProductsManagement

The productsManagement.

getProductsManagementOrBuilder()

public ProductsManagementOrBuilder getProductsManagementOrBuilder()

The provider manages products for this account. Payload for service type products management.

.google.shopping.merchant.accounts.v1.ProductsManagement products_management = 106;

Returns
Type Description
ProductsManagementOrBuilder

getProvider()

public String getProvider()

Required. The provider of the service. Either the reference to an account such as providers/123 or a well-known service provider (one of providers/GOOGLE_ADS or providers/GOOGLE_BUSINESS_PROFILE).

optional string provider = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The provider.

getProviderBytes()

public ByteString getProviderBytes()

Required. The provider of the service. Either the reference to an account such as providers/123 or a well-known service provider (one of providers/GOOGLE_ADS or providers/GOOGLE_BUSINESS_PROFILE).

optional string provider = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for provider.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getServiceTypeCase()

public CreateAndConfigureAccountRequest.AddAccountService.ServiceTypeCase getServiceTypeCase()
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.ServiceTypeCase

hasAccountAggregation()

public boolean hasAccountAggregation()

The provider is an aggregator for the account. Payload for service type Account Aggregation.

.google.shopping.merchant.accounts.v1.AccountAggregation account_aggregation = 103;

Returns
Type Description
boolean

Whether the accountAggregation field is set.

hasAccountManagement()

public boolean hasAccountManagement()

The provider manages this account. Payload for service type Account Management.

.google.shopping.merchant.accounts.v1.AccountManagement account_management = 104;

Returns
Type Description
boolean

Whether the accountManagement field is set.

hasCampaignsManagement()

public boolean hasCampaignsManagement()

The provider manages campaigns for this account. Payload for service type campaigns management.

.google.shopping.merchant.accounts.v1.CampaignsManagement campaigns_management = 107;

Returns
Type Description
boolean

Whether the campaignsManagement field is set.

hasComparisonShopping()

public boolean hasComparisonShopping()

The provider is a CSS (Comparison Shopping Service) of this account. Payload for service type Comparison Shopping.

.google.shopping.merchant.accounts.v1.ComparisonShopping comparison_shopping = 105;

Returns
Type Description
boolean

Whether the comparisonShopping field is set.

hasProductsManagement()

public boolean hasProductsManagement()

The provider manages products for this account. Payload for service type products management.

.google.shopping.merchant.accounts.v1.ProductsManagement products_management = 106;

Returns
Type Description
boolean

Whether the productsManagement field is set.

hasProvider()

public boolean hasProvider()

Required. The provider of the service. Either the reference to an account such as providers/123 or a well-known service provider (one of providers/GOOGLE_ADS or providers/GOOGLE_BUSINESS_PROFILE).

optional string provider = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the provider field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilderForType()
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

toBuilder()

public CreateAndConfigureAccountRequest.AddAccountService.Builder toBuilder()
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException