Class BusinessIdentity.IdentityAttribute.Builder (0.3.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public BusinessIdentity.IdentityAttribute.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public BusinessIdentity.IdentityAttribute.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BusinessIdentity.IdentityAttribute.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final BusinessIdentity.IdentityAttribute.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder
Overrides