Class CreateAndConfigureAccountRequest.AddAccountService.Builder (0.14.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public CreateAndConfigureAccountRequest.AddAccountService build()

buildPartial()

public CreateAndConfigureAccountRequest.AddAccountService buildPartial()

clear()

public CreateAndConfigureAccountRequest.AddAccountService.Builder clear()
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;

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateAndConfigureAccountRequest.AddAccountService.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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()

clone()

public CreateAndConfigureAccountRequest.AddAccountService.Builder clone()
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()

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()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CreateAndConfigureAccountRequest.AddAccountService other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateAndConfigureAccountRequest.AddAccountService.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

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

setField(Descriptors.FieldDescriptor field, Object value)

public CreateAndConfigureAccountRequest.AddAccountService.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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