Send feedback
Class BusinessInfo (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
public final class BusinessInfo extends GeneratedMessageV3 implements BusinessInfoOrBuilder
Collection of information related to a business.
Protobuf type google.shopping.merchant.accounts.v1beta.BusinessInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ADDRESS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int CUSTOMER_SERVICE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PHONE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PHONE_VERIFICATION_STATE_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static BusinessInfo getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static BusinessInfo . Builder newBuilder ()
public static BusinessInfo . Builder newBuilder ( BusinessInfo prototype )
public static BusinessInfo parseDelimitedFrom ( InputStream input )
public static BusinessInfo parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BusinessInfo parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static BusinessInfo parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static BusinessInfo parseFrom ( ByteString data )
public static BusinessInfo parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BusinessInfo parseFrom ( CodedInputStream input )
public static BusinessInfo parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BusinessInfo parseFrom ( InputStream input )
public static BusinessInfo parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BusinessInfo parseFrom ( ByteBuffer data )
public static BusinessInfo parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<BusinessInfo> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public 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.
public 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
public CustomerService getCustomerService ()
Optional. The customer service of the business.
optional .google.shopping.merchant.accounts.v1beta.CustomerService customer_service = 5 [(.google.api.field_behavior) = OPTIONAL];
public CustomerServiceOrBuilder getCustomerServiceOrBuilder ()
Optional. The customer service of the business.
optional .google.shopping.merchant.accounts.v1beta.CustomerService customer_service = 5 [(.google.api.field_behavior) = OPTIONAL];
public BusinessInfo getDefaultInstanceForType ()
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.
public 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.
public Parser<BusinessInfo> getParserForType ()
Overrides
public 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.
public 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
public 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];
public 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.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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.
public 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.
public 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.
public 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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public BusinessInfo . Builder newBuilderForType ()
protected BusinessInfo . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public BusinessInfo . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]