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
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_AGGREGATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ACCOUNT_MANAGEMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int CAMPAIGNS_MANAGEMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int COMPARISON_SHOPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int EXTERNAL_ACCOUNT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PRODUCTS_MANAGEMENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int PROVIDER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static CreateAndConfigureAccountRequest.AddAccountService getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilder()
public static CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilder(CreateAndConfigureAccountRequest.AddAccountService prototype)
public static CreateAndConfigureAccountRequest.AddAccountService parseDelimitedFrom(InputStream input)
public static CreateAndConfigureAccountRequest.AddAccountService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteString data)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(CodedInputStream input)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(InputStream input)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteBuffer data)
public static CreateAndConfigureAccountRequest.AddAccountService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<CreateAndConfigureAccountRequest.AddAccountService> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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;
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;
public AccountManagement getAccountManagement()
The provider manages this account. Payload for service type Account
Management.
.google.shopping.merchant.accounts.v1.AccountManagement account_management = 104;
public AccountManagementOrBuilder getAccountManagementOrBuilder()
The provider manages this account. Payload for service type Account
Management.
.google.shopping.merchant.accounts.v1.AccountManagement account_management = 104;
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;
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;
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;
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;
public CreateAndConfigureAccountRequest.AddAccountService getDefaultInstanceForType()
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.
|
public Parser<CreateAndConfigureAccountRequest.AddAccountService> getParserForType()
Overrides
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;
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;
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.
|
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.
|
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
public CreateAndConfigureAccountRequest.AddAccountService.ServiceTypeCase getServiceTypeCase()
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilderForType()
protected CreateAndConfigureAccountRequest.AddAccountService.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public CreateAndConfigureAccountRequest.AddAccountService.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides