- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.6
- 0.7.0
- 0.6.1
- 0.5.4
public static final class ContactSettings.Contact.Builder extends GeneratedMessageV3.Builder<ContactSettings.Contact.Builder> implements ContactSettings.ContactOrBuilder
Details required for a contact associated with a Registration
.
Protobuf type google.cloud.domains.v1beta1.ContactSettings.Contact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContactSettings.Contact.BuilderImplements
ContactSettings.ContactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContactSettings.Contact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContactSettings.Contact.Builder |
build()
public ContactSettings.Contact build()
Type | Description |
ContactSettings.Contact |
buildPartial()
public ContactSettings.Contact buildPartial()
Type | Description |
ContactSettings.Contact |
clear()
public ContactSettings.Contact.Builder clear()
Type | Description |
ContactSettings.Contact.Builder |
clearEmail()
public ContactSettings.Contact.Builder clearEmail()
Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
clearFaxNumber()
public ContactSettings.Contact.Builder clearFaxNumber()
Fax number of the contact in international format. For example,
"+1-800-555-0123"
.
string fax_number = 4;
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ContactSettings.Contact.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ContactSettings.Contact.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContactSettings.Contact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ContactSettings.Contact.Builder |
clearPhoneNumber()
public ContactSettings.Contact.Builder clearPhoneNumber()
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 |
ContactSettings.Contact.Builder | This builder for chaining. |
clearPostalAddress()
public ContactSettings.Contact.Builder clearPostalAddress()
Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ContactSettings.Contact.Builder |
clone()
public ContactSettings.Contact.Builder clone()
Type | Description |
ContactSettings.Contact.Builder |
getDefaultInstanceForType()
public ContactSettings.Contact getDefaultInstanceForType()
Type | Description |
ContactSettings.Contact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEmail()
public String getEmail()
Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The email. |
getEmailBytes()
public 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 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 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 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 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 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. |
getPostalAddressBuilder()
public PostalAddress.Builder getPostalAddressBuilder()
Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
com.google.type.PostalAddress.Builder |
getPostalAddressOrBuilder()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ContactSettings.Contact other)
public ContactSettings.Contact.Builder mergeFrom(ContactSettings.Contact other)
Name | Description |
other | ContactSettings.Contact |
Type | Description |
ContactSettings.Contact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContactSettings.Contact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ContactSettings.Contact.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ContactSettings.Contact.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ContactSettings.Contact.Builder |
mergePostalAddress(PostalAddress value)
public ContactSettings.Contact.Builder mergePostalAddress(PostalAddress value)
Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | com.google.type.PostalAddress |
Type | Description |
ContactSettings.Contact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContactSettings.Contact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContactSettings.Contact.Builder |
setEmail(String value)
public ContactSettings.Contact.Builder setEmail(String value)
Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The email to set. |
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
setEmailBytes(ByteString value)
public ContactSettings.Contact.Builder setEmailBytes(ByteString value)
Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for email to set. |
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
setFaxNumber(String value)
public ContactSettings.Contact.Builder setFaxNumber(String value)
Fax number of the contact in international format. For example,
"+1-800-555-0123"
.
string fax_number = 4;
Name | Description |
value | String The faxNumber to set. |
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
setFaxNumberBytes(ByteString value)
public ContactSettings.Contact.Builder setFaxNumberBytes(ByteString value)
Fax number of the contact in international format. For example,
"+1-800-555-0123"
.
string fax_number = 4;
Name | Description |
value | ByteString The bytes for faxNumber to set. |
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ContactSettings.Contact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ContactSettings.Contact.Builder |
setPhoneNumber(String value)
public ContactSettings.Contact.Builder setPhoneNumber(String value)
Required. Phone number of the contact in international format. For example,
"+1-800-555-0123"
.
string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The phoneNumber to set. |
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
setPhoneNumberBytes(ByteString value)
public ContactSettings.Contact.Builder setPhoneNumberBytes(ByteString value)
Required. Phone number of the contact in international format. For example,
"+1-800-555-0123"
.
string phone_number = 3 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for phoneNumber to set. |
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
setPostalAddress(PostalAddress value)
public ContactSettings.Contact.Builder setPostalAddress(PostalAddress value)
Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | com.google.type.PostalAddress |
Type | Description |
ContactSettings.Contact.Builder |
setPostalAddress(PostalAddress.Builder builderForValue)
public ContactSettings.Contact.Builder setPostalAddress(PostalAddress.Builder builderForValue)
Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | com.google.type.PostalAddress.Builder |
Type | Description |
ContactSettings.Contact.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContactSettings.Contact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ContactSettings.Contact.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContactSettings.Contact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ContactSettings.Contact.Builder |