Interface BusinessInfoOrBuilder (0.3.0)

public interface BusinessInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAddress()

public abstract PostalAddress getAddress()

Optional. The address of the business.

optional .google.type.PostalAddress address = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.PostalAddress

The address.

getAddressOrBuilder()

public abstract PostalAddressOrBuilder getAddressOrBuilder()

Optional. The address of the business.

optional .google.type.PostalAddress address = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.PostalAddressOrBuilder

getCustomerService()

public abstract CustomerService getCustomerService()

Optional. The customer service of the business.

optional .google.shopping.merchant.accounts.v1beta.CustomerService customer_service = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerService

The customerService.

getCustomerServiceOrBuilder()

public abstract CustomerServiceOrBuilder getCustomerServiceOrBuilder()

Optional. The customer service of the business.

optional .google.shopping.merchant.accounts.v1beta.CustomerService customer_service = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerServiceOrBuilder

getName()

public abstract String getName()

Identifier. The resource name of the business info. Format: accounts/{account}/businessInfo

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 info. Format: accounts/{account}/businessInfo

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

Returns
Type Description
ByteString

The bytes for name.

getPhone()

public abstract PhoneNumber getPhone()

Output only. The phone number of the business.

optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.PhoneNumber

The phone.

getPhoneOrBuilder()

public abstract PhoneNumberOrBuilder getPhoneOrBuilder()

Output only. The phone number of the business.

optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.type.PhoneNumberOrBuilder

getPhoneVerificationState()

public abstract PhoneVerificationState getPhoneVerificationState()

Output only. The phone verification state of the business.

optional .google.shopping.merchant.accounts.v1beta.PhoneVerificationState phone_verification_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
PhoneVerificationState

The phoneVerificationState.

getPhoneVerificationStateValue()

public abstract int getPhoneVerificationStateValue()

Output only. The phone verification state of the business.

optional .google.shopping.merchant.accounts.v1beta.PhoneVerificationState phone_verification_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for phoneVerificationState.

hasAddress()

public abstract boolean hasAddress()

Optional. The address of the business.

optional .google.type.PostalAddress address = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the address field is set.

hasCustomerService()

public abstract boolean hasCustomerService()

Optional. The customer service of the business.

optional .google.shopping.merchant.accounts.v1beta.CustomerService customer_service = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customerService field is set.

hasPhone()

public abstract boolean hasPhone()

Output only. The phone number of the business.

optional .google.type.PhoneNumber phone = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the phone field is set.

hasPhoneVerificationState()

public abstract boolean hasPhoneVerificationState()

Output only. The phone verification state of the business.

optional .google.shopping.merchant.accounts.v1beta.PhoneVerificationState phone_verification_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the phoneVerificationState field is set.