Interface ContactSettings.ContactOrBuilder (1.20.0)

public static interface ContactSettings.ContactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEmail()

public abstract String getEmail()

Required. Email address of the contact.

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

Returns
TypeDescription
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Required. Email address of the contact.

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

Returns
TypeDescription
ByteString

The bytes for email.

getFaxNumber()

public abstract String getFaxNumber()

Fax number of the contact in international format. For example, "+1-800-555-0123".

string fax_number = 4;

Returns
TypeDescription
String

The faxNumber.

getFaxNumberBytes()

public abstract ByteString getFaxNumberBytes()

Fax number of the contact in international format. For example, "+1-800-555-0123".

string fax_number = 4;

Returns
TypeDescription
ByteString

The bytes for faxNumber.

getPhoneNumber()

public abstract String getPhoneNumber()

Required. Phone number of the contact in international format. For example, "+1-800-555-0123".

string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The phoneNumber.

getPhoneNumberBytes()

public abstract ByteString getPhoneNumberBytes()

Required. Phone number of the contact in international format. For example, "+1-800-555-0123".

string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for phoneNumber.

getPostalAddress()

public abstract PostalAddress getPostalAddress()

Required. Postal address of the contact.

.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.PostalAddress

The postalAddress.

getPostalAddressOrBuilder()

public abstract PostalAddressOrBuilder getPostalAddressOrBuilder()

Required. Postal address of the contact.

.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
com.google.type.PostalAddressOrBuilder

hasPostalAddress()

public abstract boolean hasPostalAddress()

Required. Postal address of the contact.

.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the postalAddress field is set.