Class CustomerService (0.1.0)

public final class CustomerService extends GeneratedMessageV3 implements CustomerServiceOrBuilder

Customer service information.

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

Static Fields

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
Type Description
int

PHONE_FIELD_NUMBER

public static final int PHONE_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomerService getDefaultInstance()
Returns
Type Description
CustomerService

getDescriptor()

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

newBuilder()

public static CustomerService.Builder newBuilder()
Returns
Type Description
CustomerService.Builder

newBuilder(CustomerService prototype)

public static CustomerService.Builder newBuilder(CustomerService prototype)
Parameter
Name Description
prototype CustomerService
Returns
Type Description
CustomerService.Builder

parseDelimitedFrom(InputStream input)

public static CustomerService parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomerService
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomerService parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomerService
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomerService parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomerService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomerService parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomerService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomerService parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomerService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomerService parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomerService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomerService parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomerService
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomerService parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomerService
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomerService parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomerService
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomerService parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomerService
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomerService parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomerService
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomerService parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomerService
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomerService> parser()
Returns
Type Description
Parser<CustomerService>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CustomerService getDefaultInstanceForType()
Returns
Type Description
CustomerService

getEmail()

public String getEmail()

Optional. The email address where customer service may be reached.

optional string email = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Optional. The email address where customer service may be reached.

optional string email = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for email.

getParserForType()

public Parser<CustomerService> getParserForType()
Returns
Type Description
Parser<CustomerService>
Overrides

getPhone()

public PhoneNumber getPhone()

Optional. The phone number where customer service may be called.

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

Returns
Type Description
com.google.type.PhoneNumber

The phone.

getPhoneOrBuilder()

public PhoneNumberOrBuilder getPhoneOrBuilder()

Optional. The phone number where customer service may be called.

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

Returns
Type Description
com.google.type.PhoneNumberOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUri()

public String getUri()

Optional. The URI where customer service may be found.

optional string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Optional. The URI where customer service may be found.

optional string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for uri.

hasEmail()

public boolean hasEmail()

Optional. The email address where customer service may be reached.

optional string email = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the email field is set.

hasPhone()

public boolean hasPhone()

Optional. The phone number where customer service may be called.

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

Returns
Type Description
boolean

Whether the phone field is set.

hasUri()

public boolean hasUri()

Optional. The URI where customer service may be found.

optional string uri = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the uri field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomerService.Builder newBuilderForType()
Returns
Type Description
CustomerService.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomerService.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomerService.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CustomerService.Builder toBuilder()
Returns
Type Description
CustomerService.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException