Class BusinessIdentity.IdentityAttribute.Builder (1.11.0)

public static final class BusinessIdentity.IdentityAttribute.Builder extends GeneratedMessage.Builder<BusinessIdentity.IdentityAttribute.Builder> implements BusinessIdentity.IdentityAttributeOrBuilder

All information related to an identity attribute.

Protobuf type google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute

Static Methods

getDescriptor()

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

Methods

build()

public BusinessIdentity.IdentityAttribute build()
Returns
Type Description
BusinessIdentity.IdentityAttribute

buildPartial()

public BusinessIdentity.IdentityAttribute buildPartial()
Returns
Type Description
BusinessIdentity.IdentityAttribute

clear()

public BusinessIdentity.IdentityAttribute.Builder clear()
Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder
Overrides

clearIdentityDeclaration()

public BusinessIdentity.IdentityAttribute.Builder clearIdentityDeclaration()

Required. The declaration of identity for this attribute.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.IdentityDeclaration identity_declaration = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

This builder for chaining.

getDefaultInstanceForType()

public BusinessIdentity.IdentityAttribute getDefaultInstanceForType()
Returns
Type Description
BusinessIdentity.IdentityAttribute

getDescriptorForType()

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

getIdentityDeclaration()

public BusinessIdentity.IdentityAttribute.IdentityDeclaration getIdentityDeclaration()

Required. The declaration of identity for this attribute.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.IdentityDeclaration identity_declaration = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BusinessIdentity.IdentityAttribute.IdentityDeclaration

The identityDeclaration.

getIdentityDeclarationValue()

public int getIdentityDeclarationValue()

Required. The declaration of identity for this attribute.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.IdentityDeclaration identity_declaration = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for identityDeclaration.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BusinessIdentity.IdentityAttribute.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder
Overrides

mergeFrom(BusinessIdentity.IdentityAttribute other)

public BusinessIdentity.IdentityAttribute.Builder mergeFrom(BusinessIdentity.IdentityAttribute other)
Parameter
Name Description
other BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

setIdentityDeclaration(BusinessIdentity.IdentityAttribute.IdentityDeclaration value)

public BusinessIdentity.IdentityAttribute.Builder setIdentityDeclaration(BusinessIdentity.IdentityAttribute.IdentityDeclaration value)

Required. The declaration of identity for this attribute.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.IdentityDeclaration identity_declaration = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute.IdentityDeclaration

The identityDeclaration to set.

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

This builder for chaining.

setIdentityDeclarationValue(int value)

public BusinessIdentity.IdentityAttribute.Builder setIdentityDeclarationValue(int value)

Required. The declaration of identity for this attribute.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute.IdentityDeclaration identity_declaration = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for identityDeclaration to set.

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

This builder for chaining.