Interface CustomerServiceOrBuilder (0.4.0)

public interface CustomerServiceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract 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 abstract 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.

getPhone()

public abstract 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 abstract 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

getUri()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.