Package com.google.cloud.domains.v1
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetEmail()Required.com.google.protobuf.ByteStringgetEmailBytes()Required.StringgetFaxNumber()Fax number of the contact in international format.com.google.protobuf.ByteStringgetFaxNumberBytes()Fax number of the contact in international format.StringgetPhoneNumber()Required.com.google.protobuf.ByteStringgetPhoneNumberBytes()Required.com.google.type.PostalAddressgetPostalAddress()Required.com.google.type.PostalAddressOrBuildergetPostalAddressOrBuilder()Required.booleanhasPostalAddress()Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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
com.google.type.PostalAddress getPostalAddress()
Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The postalAddress.
-
getPostalAddressOrBuilder
com.google.type.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.
-
-