public static final class CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder extends GeneratedMessage.Builder<CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder> implements CreateAndConfigureAccountRequest.SetAliasForRelationshipOrBuilderSet an alias for a relationship between a provider and the account to be created.
Protobuf type
google.shopping.merchant.accounts.v1.CreateAndConfigureAccountRequest.SetAliasForRelationship
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateAndConfigureAccountRequest.SetAliasForRelationship.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateAndConfigureAccountRequest.SetAliasForRelationship build()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
|
buildPartial()
public CreateAndConfigureAccountRequest.SetAliasForRelationship buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
|
clear()
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
|
clearAccountIdAlias()
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder clearAccountIdAlias()Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.
string account_id_alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
This builder for chaining. |
clearProvider()
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder clearProvider() Required. The provider of the service. This is a reference to an account
such as providers/123 or accounts/123. The same provider must be
specified in at least one of the service fields.
string provider = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
This builder for chaining. |
getAccountIdAlias()
public String getAccountIdAlias()Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.
string account_id_alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The accountIdAlias. |
getAccountIdAliasBytes()
public ByteString getAccountIdAliasBytes()Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.
string account_id_alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for accountIdAlias. |
getDefaultInstanceForType()
public CreateAndConfigureAccountRequest.SetAliasForRelationship getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getProvider()
public String getProvider() Required. The provider of the service. This is a reference to an account
such as providers/123 or accounts/123. The same provider must be
specified in at least one of the service fields.
string provider = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The provider. |
getProviderBytes()
public ByteString getProviderBytes() Required. The provider of the service. This is a reference to an account
such as providers/123 or accounts/123. The same provider must be
specified in at least one of the service fields.
string provider = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for provider. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
|
mergeFrom(CreateAndConfigureAccountRequest.SetAliasForRelationship other)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder mergeFrom(CreateAndConfigureAccountRequest.SetAliasForRelationship other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateAndConfigureAccountRequest.SetAliasForRelationship |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
|
setAccountIdAlias(String value)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder setAccountIdAlias(String value)Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.
string account_id_alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe accountIdAlias to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
This builder for chaining. |
setAccountIdAliasBytes(ByteString value)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder setAccountIdAliasBytes(ByteString value)Required. The unique ID of this account in the provider's system. The value must be unique across all accounts on the platform for this provider.
string account_id_alias = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for accountIdAlias to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
This builder for chaining. |
setProvider(String value)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder setProvider(String value) Required. The provider of the service. This is a reference to an account
such as providers/123 or accounts/123. The same provider must be
specified in at least one of the service fields.
string provider = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe provider to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
This builder for chaining. |
setProviderBytes(ByteString value)
public CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder setProviderBytes(ByteString value) Required. The provider of the service. This is a reference to an account
such as providers/123 or accounts/123. The same provider must be
specified in at least one of the service fields.
string provider = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for provider to set. |
| Returns | |
|---|---|
| Type | Description |
CreateAndConfigureAccountRequest.SetAliasForRelationship.Builder |
This builder for chaining. |