Interface ContactSettings.ContactOrBuilder (1.50.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
Type Description
String

The email.

getEmailBytes()

public abstract ByteString getEmailBytes()

Required. Email address of the contact.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the postalAddress field is set.