# Interface BusinessIdentityOrBuilder (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface BusinessIdentityOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getBlackOwned()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute` | The blackOwned. |

### getBlackOwnedOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttributeOrBuilder` |   |

### getLatinoOwned()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute` | The latinoOwned. |

### getLatinoOwnedOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttributeOrBuilder` |   |

### getName()

    public abstract 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** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract 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** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getPromotionsConsent()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.PromotionsConsent` | The promotionsConsent. |

### getPromotionsConsentValue()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for promotionsConsent. |

### getSmallBusiness()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute` | The smallBusiness. |

### getSmallBusinessOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttributeOrBuilder` |   |

### getVeteranOwned()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute` | The veteranOwned. |

### getVeteranOwnedOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttributeOrBuilder` |   |

### getWomenOwned()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttribute` | The womenOwned. |

### getWomenOwnedOrBuilder()

    public abstract 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** |
| `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-accounts/latest/com.google.shopping.merchant.accounts.v1beta.BusinessIdentity.IdentityAttributeOrBuilder` |   |

### hasBlackOwned()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the blackOwned field is set. |

### hasLatinoOwned()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the latinoOwned field is set. |

### hasSmallBusiness()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the smallBusiness field is set. |

### hasVeteranOwned()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the veteranOwned field is set. |

### hasWomenOwned()

    public abstract 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the womenOwned field is set. |