Class BusinessIdentity.Builder (0.7.0)

public static final class BusinessIdentity.Builder extends GeneratedMessageV3.Builder<BusinessIdentity.Builder> implements BusinessIdentityOrBuilder

Collection of information related to the identity of a business.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BusinessIdentity build()
Returns
Type Description
BusinessIdentity

buildPartial()

public BusinessIdentity buildPartial()
Returns
Type Description
BusinessIdentity

clear()

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

clearBlackOwned()

public BusinessIdentity.Builder clearBlackOwned()

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearLatinoOwned()

public BusinessIdentity.Builder clearLatinoOwned()

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.Builder

clearName()

public BusinessIdentity.Builder clearName()

Identifier. The resource name of the business identity. Format: accounts/{account}/businessIdentity

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
BusinessIdentity.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPromotionsConsent()

public BusinessIdentity.Builder clearPromotionsConsent()

Optional. Whether the identity attributes may be used for promotions.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent promotions_consent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.Builder

This builder for chaining.

clearSmallBusiness()

public BusinessIdentity.Builder clearSmallBusiness()

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.Builder

clearVeteranOwned()

public BusinessIdentity.Builder clearVeteranOwned()

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.Builder

clearWomenOwned()

public BusinessIdentity.Builder clearWomenOwned()

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.Builder

clone()

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

getBlackOwned()

public BusinessIdentity.IdentityAttribute getBlackOwned()

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute

The blackOwned.

getBlackOwnedBuilder()

public BusinessIdentity.IdentityAttribute.Builder getBlackOwnedBuilder()

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

getBlackOwnedOrBuilder()

public BusinessIdentity.IdentityAttributeOrBuilder getBlackOwnedOrBuilder()

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttributeOrBuilder

getDefaultInstanceForType()

public BusinessIdentity getDefaultInstanceForType()
Returns
Type Description
BusinessIdentity

getDescriptorForType()

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

getLatinoOwned()

public BusinessIdentity.IdentityAttribute getLatinoOwned()

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute

The latinoOwned.

getLatinoOwnedBuilder()

public BusinessIdentity.IdentityAttribute.Builder getLatinoOwnedBuilder()

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

getLatinoOwnedOrBuilder()

public BusinessIdentity.IdentityAttributeOrBuilder getLatinoOwnedOrBuilder()

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttributeOrBuilder

getName()

public String getName()

Identifier. The resource name of the business identity. Format: accounts/{account}/businessIdentity

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The resource name of the business identity. Format: accounts/{account}/businessIdentity

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPromotionsConsent()

public BusinessIdentity.PromotionsConsent getPromotionsConsent()

Optional. Whether the identity attributes may be used for promotions.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent promotions_consent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.PromotionsConsent

The promotionsConsent.

getPromotionsConsentValue()

public int getPromotionsConsentValue()

Optional. Whether the identity attributes may be used for promotions.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent promotions_consent = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for promotionsConsent.

getSmallBusiness()

public BusinessIdentity.IdentityAttribute getSmallBusiness()

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute

The smallBusiness.

getSmallBusinessBuilder()

public BusinessIdentity.IdentityAttribute.Builder getSmallBusinessBuilder()

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

getSmallBusinessOrBuilder()

public BusinessIdentity.IdentityAttributeOrBuilder getSmallBusinessOrBuilder()

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttributeOrBuilder

getVeteranOwned()

public BusinessIdentity.IdentityAttribute getVeteranOwned()

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute

The veteranOwned.

getVeteranOwnedBuilder()

public BusinessIdentity.IdentityAttribute.Builder getVeteranOwnedBuilder()

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

getVeteranOwnedOrBuilder()

public BusinessIdentity.IdentityAttributeOrBuilder getVeteranOwnedOrBuilder()

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttributeOrBuilder

getWomenOwned()

public BusinessIdentity.IdentityAttribute getWomenOwned()

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute

The womenOwned.

getWomenOwnedBuilder()

public BusinessIdentity.IdentityAttribute.Builder getWomenOwnedBuilder()

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttribute.Builder

getWomenOwnedOrBuilder()

public BusinessIdentity.IdentityAttributeOrBuilder getWomenOwnedOrBuilder()

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BusinessIdentity.IdentityAttributeOrBuilder

hasBlackOwned()

public boolean hasBlackOwned()

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the blackOwned field is set.

hasLatinoOwned()

public boolean hasLatinoOwned()

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the latinoOwned field is set.

hasSmallBusiness()

public boolean hasSmallBusiness()

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the smallBusiness field is set.

hasVeteranOwned()

public boolean hasVeteranOwned()

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the veteranOwned field is set.

hasWomenOwned()

public boolean hasWomenOwned()

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the womenOwned field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBlackOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder mergeBlackOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(BusinessIdentity other)

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

mergeLatinoOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder mergeLatinoOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

mergeSmallBusiness(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder mergeSmallBusiness(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVeteranOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder mergeVeteranOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

mergeWomenOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder mergeWomenOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

setBlackOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder setBlackOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

setBlackOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

public BusinessIdentity.Builder setBlackOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

Optional. Specifies whether the business identifies itself as being black-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BusinessIdentity.IdentityAttribute.Builder
Returns
Type Description
BusinessIdentity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLatinoOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder setLatinoOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

setLatinoOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

public BusinessIdentity.Builder setLatinoOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

Optional. Specifies whether the business identifies itself as being latino-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BusinessIdentity.IdentityAttribute.Builder
Returns
Type Description
BusinessIdentity.Builder

setName(String value)

public BusinessIdentity.Builder setName(String value)

Identifier. The resource name of the business identity. Format: accounts/{account}/businessIdentity

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
BusinessIdentity.Builder

This builder for chaining.

setNameBytes(ByteString value)

public BusinessIdentity.Builder setNameBytes(ByteString value)

Identifier. The resource name of the business identity. Format: accounts/{account}/businessIdentity

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
BusinessIdentity.Builder

This builder for chaining.

setPromotionsConsent(BusinessIdentity.PromotionsConsent value)

public BusinessIdentity.Builder setPromotionsConsent(BusinessIdentity.PromotionsConsent value)

Optional. Whether the identity attributes may be used for promotions.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent promotions_consent = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.PromotionsConsent

The promotionsConsent to set.

Returns
Type Description
BusinessIdentity.Builder

This builder for chaining.

setPromotionsConsentValue(int value)

public BusinessIdentity.Builder setPromotionsConsentValue(int value)

Optional. Whether the identity attributes may be used for promotions.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent promotions_consent = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
BusinessIdentity.Builder

This builder for chaining.

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

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

setSmallBusiness(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder setSmallBusiness(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

setSmallBusiness(BusinessIdentity.IdentityAttribute.Builder builderForValue)

public BusinessIdentity.Builder setSmallBusiness(BusinessIdentity.IdentityAttribute.Builder builderForValue)

Optional. Specifies whether the business identifies itself as a small business. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BusinessIdentity.IdentityAttribute.Builder
Returns
Type Description
BusinessIdentity.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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

setVeteranOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder setVeteranOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

setVeteranOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

public BusinessIdentity.Builder setVeteranOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

Optional. Specifies whether the business identifies itself as being veteran-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BusinessIdentity.IdentityAttribute.Builder
Returns
Type Description
BusinessIdentity.Builder

setWomenOwned(BusinessIdentity.IdentityAttribute value)

public BusinessIdentity.Builder setWomenOwned(BusinessIdentity.IdentityAttribute value)

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BusinessIdentity.IdentityAttribute
Returns
Type Description
BusinessIdentity.Builder

setWomenOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

public BusinessIdentity.Builder setWomenOwned(BusinessIdentity.IdentityAttribute.Builder builderForValue)

Optional. Specifies whether the business identifies itself as being women-owned. This optional field will only be available for merchants with a business country set to US. It is also not applicable for marketplaces or marketplace sellers.

.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue BusinessIdentity.IdentityAttribute.Builder
Returns
Type Description
BusinessIdentity.Builder