public interface BusinessIdentityOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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 businesses with
the business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses with
the business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses
with the business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses
with the business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 |
String |
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 |
ByteString |
The bytes for name. |
getPromotionsConsent()
public abstract BusinessIdentity.PromotionsConsent getPromotionsConsent()Required. Whether the identity attributes may be used for promotions.
.google.shopping.merchant.accounts.v1.BusinessIdentity.PromotionsConsent promotions_consent = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BusinessIdentity.PromotionsConsent |
The promotionsConsent. |
getPromotionsConsentValue()
public abstract int getPromotionsConsentValue()Required. Whether the identity attributes may be used for promotions.
.google.shopping.merchant.accounts.v1.BusinessIdentity.PromotionsConsent promotions_consent = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
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 businesses with a
business country set to US. It is also not applicable for marketplaces.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses with a
business country set to US. It is also not applicable for marketplaces.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses
with a business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses
with a business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses with
a business country set to US. It is also not applicable for marketplaces
or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses with
a business country set to US. It is also not applicable for marketplaces
or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
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 businesses with
the business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute black_owned = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
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 businesses
with the business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute latino_owned = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
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 businesses with a
business country set to US. It is also not applicable for marketplaces.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute small_business = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
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 businesses
with a business country set to US. It is also not applicable for
marketplaces or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute veteran_owned = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
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 businesses with
a business country set to US. It is also not applicable for marketplaces
or marketplace sellers.
.google.shopping.merchant.accounts.v1.BusinessIdentity.IdentityAttribute women_owned = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the womenOwned field is set. |