Class CreateAndConfigureAccountRequest.AddAccountService.Builder (1.11.0)

public static final class CreateAndConfigureAccountRequest.AddAccountService.Builder extends GeneratedMessage.Builder<CreateAndConfigureAccountRequest.AddAccountService.Builder> implements CreateAndConfigureAccountRequest.AddAccountServiceOrBuilder

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

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

Static Methods

getDescriptor()

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

Methods

build()

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

buildPartial()

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

clear()

public CreateAndConfigureAccountRequest.AddAccountService.Builder clear()
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

clearAccountAggregation()

public CreateAndConfigureAccountRequest.AddAccountService.Builder clearAccountAggregation()

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

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

Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

clearProvider()

public CreateAndConfigureAccountRequest.AddAccountService.Builder clearProvider()

Optional. The provider of the service. Format: accounts/{account}

optional string provider = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

This builder for chaining.

clearServiceType()

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

getAccountAggregation()

public AccountAggregation getAccountAggregation()

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

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

Returns
Type Description
AccountAggregation

The accountAggregation.

getAccountAggregationBuilder()

public AccountAggregation.Builder getAccountAggregationBuilder()

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

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

Returns
Type Description
AccountAggregation.Builder

getAccountAggregationOrBuilder()

public AccountAggregationOrBuilder getAccountAggregationOrBuilder()

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

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

Returns
Type Description
AccountAggregationOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProvider()

public String getProvider()

Optional. The provider of the service. Format: accounts/{account}

optional string provider = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The provider.

getProviderBytes()

public ByteString getProviderBytes()

Optional. The provider of the service. Format: accounts/{account}

optional string provider = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for provider.

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.v1beta.AccountAggregation account_aggregation = 103;

Returns
Type Description
boolean

Whether the accountAggregation field is set.

hasProvider()

public boolean hasProvider()

Optional. The provider of the service. Format: accounts/{account}

optional string provider = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the provider field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAccountAggregation(AccountAggregation value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder mergeAccountAggregation(AccountAggregation value)

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

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

Parameter
Name Description
value AccountAggregation
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateAndConfigureAccountRequest.AddAccountService.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateAndConfigureAccountRequest.AddAccountService.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

mergeFrom(CreateAndConfigureAccountRequest.AddAccountService other)

public CreateAndConfigureAccountRequest.AddAccountService.Builder mergeFrom(CreateAndConfigureAccountRequest.AddAccountService other)
Parameter
Name Description
other CreateAndConfigureAccountRequest.AddAccountService
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

setAccountAggregation(AccountAggregation value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder setAccountAggregation(AccountAggregation value)

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

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

Parameter
Name Description
value AccountAggregation
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

setAccountAggregation(AccountAggregation.Builder builderForValue)

public CreateAndConfigureAccountRequest.AddAccountService.Builder setAccountAggregation(AccountAggregation.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue AccountAggregation.Builder
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

setProvider(String value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder setProvider(String value)

Optional. The provider of the service. Format: accounts/{account}

optional string provider = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The provider to set.

Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

This builder for chaining.

setProviderBytes(ByteString value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder setProviderBytes(ByteString value)

Optional. The provider of the service. Format: accounts/{account}

optional string provider = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for provider to set.

Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder

This builder for chaining.