Class CreateAndConfigureAccountRequest.AddAccountService.Builder (0.8.0)

public static final class CreateAndConfigureAccountRequest.AddAccountService.Builder extends GeneratedMessageV3.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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateAndConfigureAccountRequest.AddAccountService.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public CreateAndConfigureAccountRequest.AddAccountService.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAndConfigureAccountRequest.AddAccountService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAndConfigureAccountRequest.AddAccountService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateAndConfigureAccountRequest.AddAccountService.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateAndConfigureAccountRequest.AddAccountService.Builder
Overrides