Interface ContactSettings.ContactOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContactSettings.Contact,ContactSettings.Contact.Builder
- Enclosing class:
- ContactSettings
public static interface ContactSettings.ContactOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()Required.com.google.protobuf.ByteStringRequired.Fax number of the contact in international format.com.google.protobuf.ByteStringFax number of the contact in international format.Required.com.google.protobuf.ByteStringRequired.Required.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPostalAddress
boolean hasPostalAddress()Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the postalAddress field is set.
-
getPostalAddress
PostalAddress getPostalAddress()Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The postalAddress.
-
getPostalAddressOrBuilder
PostalAddressOrBuilder getPostalAddressOrBuilder()Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED]; -
getEmail
String getEmail()Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The email.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes()Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for email.
-
getPhoneNumber
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:
- The phoneNumber.
-
getPhoneNumberBytes
com.google.protobuf.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:
- The bytes for phoneNumber.
-
getFaxNumber
String getFaxNumber()Fax number of the contact in international format. For example, `"+1-800-555-0123"`.
string fax_number = 4;- Returns:
- The faxNumber.
-
getFaxNumberBytes
com.google.protobuf.ByteString getFaxNumberBytes()Fax number of the contact in international format. For example, `"+1-800-555-0123"`.
string fax_number = 4;- Returns:
- The bytes for faxNumber.
-