# Interface AccountServiceOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface AccountServiceOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAccountAggregation()

    public abstract AccountAggregation getAccountAggregation()

Service type for account aggregation. This enables the provider, which is
an advanced account, to manage multiple sub-accounts (client
accounts). Through this service, the advanced account provider can
perform administrative and operational tasks across all linked
sub-accounts.

This is useful for agencies, aggregators, or large retailers that need
centralized control over many Merchant Center accounts.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AccountAggregation` | The accountAggregation. |

### getAccountAggregationOrBuilder()

    public abstract AccountAggregationOrBuilder getAccountAggregationOrBuilder()

Service type for account aggregation. This enables the provider, which is
an advanced account, to manage multiple sub-accounts (client
accounts). Through this service, the advanced account provider can
perform administrative and operational tasks across all linked
sub-accounts.

This is useful for agencies, aggregators, or large retailers that need
centralized control over many Merchant Center accounts.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AccountAggregationOrBuilder` |   |

### getAccountManagement()

    public abstract AccountManagement getAccountManagement()

Service type for account management. Enables the provider to perform
administrative actions on the business's account, such as
configuring account settings, managing users, or updating business
information.

`.google.shopping.merchant.accounts.v1.AccountManagement account_management = 102;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AccountManagement` | The accountManagement. |

### getAccountManagementOrBuilder()

    public abstract AccountManagementOrBuilder getAccountManagementOrBuilder()

Service type for account management. Enables the provider to perform
administrative actions on the business's account, such as
configuring account settings, managing users, or updating business
information.

`.google.shopping.merchant.accounts.v1.AccountManagement account_management = 102;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AccountManagementOrBuilder` |   |

### getCampaignsManagement()

    public abstract CampaignsManagement getCampaignsManagement()

Service type for managing advertising campaigns. Grants the provider
access to create and manage the business's ad campaigns, including
setting up campaigns, adjusting bids, and optimizing performance.

`.google.shopping.merchant.accounts.v1.CampaignsManagement campaigns_management = 101;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.CampaignsManagement` | The campaignsManagement. |

### getCampaignsManagementOrBuilder()

    public abstract CampaignsManagementOrBuilder getCampaignsManagementOrBuilder()

Service type for managing advertising campaigns. Grants the provider
access to create and manage the business's ad campaigns, including
setting up campaigns, adjusting bids, and optimizing performance.

`.google.shopping.merchant.accounts.v1.CampaignsManagement campaigns_management = 101;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.CampaignsManagementOrBuilder` |   |

### getComparisonShopping()

    public abstract ComparisonShopping getComparisonShopping()

Service type for comparison shopping. The provider is a CSS (Comparison
Shopping Service) managing the account. See
<https://support.google.com/merchants/answer/12653197>

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.ComparisonShopping` | The comparisonShopping. |

### getComparisonShoppingOrBuilder()

    public abstract ComparisonShoppingOrBuilder getComparisonShoppingOrBuilder()

Service type for comparison shopping. The provider is a CSS (Comparison
Shopping Service) managing the account. See
<https://support.google.com/merchants/answer/12653197>

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.ComparisonShoppingOrBuilder` |   |

### getExternalAccountId()

    public abstract 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.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The externalAccountId. |

### getExternalAccountIdBytes()

    public abstract 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.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for externalAccountId. |

### getHandshake()

    public abstract Handshake getHandshake()

Output only. Information about the state of the service in terms of
establishing it (e.g. is it pending approval or approved).

`
.google.shopping.merchant.accounts.v1.Handshake handshake = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.Handshake` | The handshake. |

### getHandshakeOrBuilder()

    public abstract HandshakeOrBuilder getHandshakeOrBuilder()

Output only. Information about the state of the service in terms of
establishing it (e.g. is it pending approval or approved).

`
.google.shopping.merchant.accounts.v1.Handshake handshake = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.HandshakeOrBuilder` |   |

### getLocalListingManagement()

    public abstract LocalListingManagement getLocalListingManagement()

Service type for local listings management. The business group associated
with the external account id will be used to provide local inventory to
this Merchant Center account.

`
.google.shopping.merchant.accounts.v1.LocalListingManagement local_listing_management = 104;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.LocalListingManagement` | The localListingManagement. |

### getLocalListingManagementOrBuilder()

    public abstract LocalListingManagementOrBuilder getLocalListingManagementOrBuilder()

Service type for local listings management. The business group associated
with the external account id will be used to provide local inventory to
this Merchant Center account.

`
.google.shopping.merchant.accounts.v1.LocalListingManagement local_listing_management = 104;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.LocalListingManagementOrBuilder` |   |

### getMutability()

    public abstract AccountService.Mutability getMutability()

Output only. Whether the service is mutable (e.g. through Approve / Reject
RPCs). A service that was created through another system or API might be
immutable.

`
.google.shopping.merchant.accounts.v1.AccountService.Mutability mutability = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AccountService.Mutability` | The mutability. |

### getMutabilityValue()

    public abstract int getMutabilityValue()

Output only. Whether the service is mutable (e.g. through Approve / Reject
RPCs). A service that was created through another system or API might be
immutable.

`
.google.shopping.merchant.accounts.v1.AccountService.Mutability mutability = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for mutability. |

### getName()

    public abstract String getName()

Identifier. The resource name of the account service.
Format: `accounts/{account}/services/{service}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Identifier. The resource name of the account service.
Format: `accounts/{account}/services/{service}`

`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getProductsManagement()

    public abstract ProductsManagement getProductsManagement()

Service type for managing products. This allows the provider to handle
product data on behalf of the business, including reading and writing
product listings. It's commonly used when the provider offers inventory
management or catalog synchronization services to keep the business's
product information up-to-date across platforms.

`.google.shopping.merchant.accounts.v1.ProductsManagement products_management = 100;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.ProductsManagement` | The productsManagement. |

### getProductsManagementOrBuilder()

    public abstract ProductsManagementOrBuilder getProductsManagementOrBuilder()

Service type for managing products. This allows the provider to handle
product data on behalf of the business, including reading and writing
product listings. It's commonly used when the provider offers inventory
management or catalog synchronization services to keep the business's
product information up-to-date across platforms.

`.google.shopping.merchant.accounts.v1.ProductsManagement products_management = 100;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.ProductsManagementOrBuilder` |   |

### getProvider()

    public abstract String getProvider()

Output only. 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The provider. |

### getProviderBytes()

    public abstract ByteString getProviderBytes()

Output only. 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for provider. |

### getProviderDisplayName()

    public abstract String getProviderDisplayName()

Output only. The human-readable display name of the provider account.

`string provider_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The providerDisplayName. |

### getProviderDisplayNameBytes()

    public abstract ByteString getProviderDisplayNameBytes()

Output only. The human-readable display name of the provider account.

`string provider_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for providerDisplayName. |

### getServiceTypeCase()

    public abstract AccountService.ServiceTypeCase getServiceTypeCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1.AccountService.ServiceTypeCase` |   |

### hasAccountAggregation()

    public abstract boolean hasAccountAggregation()

Service type for account aggregation. This enables the provider, which is
an advanced account, to manage multiple sub-accounts (client
accounts). Through this service, the advanced account provider can
perform administrative and operational tasks across all linked
sub-accounts.

This is useful for agencies, aggregators, or large retailers that need
centralized control over many Merchant Center accounts.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the accountAggregation field is set. |

### hasAccountManagement()

    public abstract boolean hasAccountManagement()

Service type for account management. Enables the provider to perform
administrative actions on the business's account, such as
configuring account settings, managing users, or updating business
information.

`.google.shopping.merchant.accounts.v1.AccountManagement account_management = 102;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the accountManagement field is set. |

### hasCampaignsManagement()

    public abstract boolean hasCampaignsManagement()

Service type for managing advertising campaigns. Grants the provider
access to create and manage the business's ad campaigns, including
setting up campaigns, adjusting bids, and optimizing performance.

`.google.shopping.merchant.accounts.v1.CampaignsManagement campaigns_management = 101;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the campaignsManagement field is set. |

### hasComparisonShopping()

    public abstract boolean hasComparisonShopping()

Service type for comparison shopping. The provider is a CSS (Comparison
Shopping Service) managing the account. See
<https://support.google.com/merchants/answer/12653197>

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the comparisonShopping field is set. |

### hasHandshake()

    public abstract boolean hasHandshake()

Output only. Information about the state of the service in terms of
establishing it (e.g. is it pending approval or approved).

`
.google.shopping.merchant.accounts.v1.Handshake handshake = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the handshake field is set. |

### hasLocalListingManagement()

    public abstract boolean hasLocalListingManagement()

Service type for local listings management. The business group associated
with the external account id will be used to provide local inventory to
this Merchant Center account.

`
.google.shopping.merchant.accounts.v1.LocalListingManagement local_listing_management = 104;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the localListingManagement field is set. |

### hasProductsManagement()

    public abstract boolean hasProductsManagement()

Service type for managing products. This allows the provider to handle
product data on behalf of the business, including reading and writing
product listings. It's commonly used when the provider offers inventory
management or catalog synchronization services to keep the business's
product information up-to-date across platforms.

`.google.shopping.merchant.accounts.v1.ProductsManagement products_management = 100;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the productsManagement field is set. |

### hasProvider()

    public abstract boolean hasProvider()

Output only. 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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the provider field is set. |