- 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.v1alpha2.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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContactSettings.Contact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
build()
public ContactSettings.Contact build()
Returns | |
---|---|
Type | Description |
ContactSettings.Contact |
buildPartial()
public ContactSettings.Contact buildPartial()
Returns | |
---|---|
Type | Description |
ContactSettings.Contact |
clear()
public ContactSettings.Contact.Builder clear()
Returns | |
---|---|
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];
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ContactSettings.Contact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContactSettings.Contact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
clone()
public ContactSettings.Contact.Builder clone()
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
getDefaultInstanceForType()
public ContactSettings.Contact getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ContactSettings.Contact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEmail()
public String getEmail()
Required. Email address of the contact.
string email = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The email. |
getEmailBytes()
public 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 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 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 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 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 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. |
getPostalAddressBuilder()
public PostalAddress.Builder getPostalAddressBuilder()
Required. Postal address of the contact.
.google.type.PostalAddress postal_address = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
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];
Returns | |
---|---|
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];
Returns | |
---|---|
Type | Description |
boolean | Whether the postalAddress field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ContactSettings.Contact other)
public ContactSettings.Contact.Builder mergeFrom(ContactSettings.Contact other)
Parameter | |
---|---|
Name | Description |
other | ContactSettings.Contact |
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContactSettings.Contact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ContactSettings.Contact.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | com.google.type.PostalAddress |
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContactSettings.Contact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The email to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for email to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The faxNumber to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for faxNumber to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | String The phoneNumber to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for phoneNumber to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value | com.google.type.PostalAddress |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
builderForValue | com.google.type.PostalAddress.Builder |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContactSettings.Contact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ContactSettings.Contact.Builder |