public static interface ContactSettings.ContactOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEmail()
public abstract String getEmail()Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
| String | The email. |
getEmailBytes()
public abstract ByteString getEmailBytes()Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];
| 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;
| 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;
| 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];
| 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];
| 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];
| 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];
| 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];
| Type | Description |
| boolean | Whether the postalAddress field is set. |