Class ConfigureContactSettingsRequest.Builder (1.45.0)

public static final class ConfigureContactSettingsRequest.Builder extends GeneratedMessageV3.Builder<ConfigureContactSettingsRequest.Builder> implements ConfigureContactSettingsRequestOrBuilder

Request for the ConfigureContactSettings method.

Protobuf type google.cloud.domains.v1.ConfigureContactSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllContactNotices(Iterable<? extends ContactNotice> values)

public ConfigureContactSettingsRequest.Builder addAllContactNotices(Iterable<? extends ContactNotice> values)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameter
Name Description
values Iterable<? extends com.google.cloud.domains.v1.ContactNotice>

The contactNotices to add.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

addAllContactNoticesValue(Iterable<Integer> values)

public ConfigureContactSettingsRequest.Builder addAllContactNoticesValue(Iterable<Integer> values)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for contactNotices to add.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

addContactNotices(ContactNotice value)

public ConfigureContactSettingsRequest.Builder addContactNotices(ContactNotice value)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameter
Name Description
value ContactNotice

The contactNotices to add.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

addContactNoticesValue(int value)

public ConfigureContactSettingsRequest.Builder addContactNoticesValue(int value)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameter
Name Description
value int

The enum numeric value on the wire for contactNotices to add.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfigureContactSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

build()

public ConfigureContactSettingsRequest build()
Returns
Type Description
ConfigureContactSettingsRequest

buildPartial()

public ConfigureContactSettingsRequest buildPartial()
Returns
Type Description
ConfigureContactSettingsRequest

clear()

public ConfigureContactSettingsRequest.Builder clear()
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

clearContactNotices()

public ConfigureContactSettingsRequest.Builder clearContactNotices()

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

clearContactSettings()

public ConfigureContactSettingsRequest.Builder clearContactSettings()

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Returns
Type Description
ConfigureContactSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ConfigureContactSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfigureContactSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

clearRegistration()

public ConfigureContactSettingsRequest.Builder clearRegistration()

Required. The name of the Registration whose contact settings are being updated, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

clearUpdateMask()

public ConfigureContactSettingsRequest.Builder clearUpdateMask()

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConfigureContactSettingsRequest.Builder

clearValidateOnly()

public ConfigureContactSettingsRequest.Builder clearValidateOnly()

Validate the request without actually updating the contact settings.

bool validate_only = 5;

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

clone()

public ConfigureContactSettingsRequest.Builder clone()
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

getContactNotices(int index)

public ContactNotice getContactNotices(int index)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ContactNotice

The contactNotices at the given index.

getContactNoticesCount()

public int getContactNoticesCount()

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Returns
Type Description
int

The count of contactNotices.

getContactNoticesList()

public List<ContactNotice> getContactNoticesList()

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Returns
Type Description
List<ContactNotice>

A list containing the contactNotices.

getContactNoticesValue(int index)

public int getContactNoticesValue(int index)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of contactNotices at the given index.

getContactNoticesValueList()

public List<Integer> getContactNoticesValueList()

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for contactNotices.

getContactSettings()

public ContactSettings getContactSettings()

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Returns
Type Description
ContactSettings

The contactSettings.

getContactSettingsBuilder()

public ContactSettings.Builder getContactSettingsBuilder()

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Returns
Type Description
ContactSettings.Builder

getContactSettingsOrBuilder()

public ContactSettingsOrBuilder getContactSettingsOrBuilder()

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Returns
Type Description
ContactSettingsOrBuilder

getDefaultInstanceForType()

public ConfigureContactSettingsRequest getDefaultInstanceForType()
Returns
Type Description
ConfigureContactSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRegistration()

public String getRegistration()

Required. The name of the Registration whose contact settings are being updated, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The registration.

getRegistrationBytes()

public ByteString getRegistrationBytes()

Required. The name of the Registration whose contact settings are being updated, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for registration.

getUpdateMask()

public FieldMask getUpdateMask()

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Validate the request without actually updating the contact settings.

bool validate_only = 5;

Returns
Type Description
boolean

The validateOnly.

hasContactSettings()

public boolean hasContactSettings()

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Returns
Type Description
boolean

Whether the contactSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContactSettings(ContactSettings value)

public ConfigureContactSettingsRequest.Builder mergeContactSettings(ContactSettings value)

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Parameter
Name Description
value ContactSettings
Returns
Type Description
ConfigureContactSettingsRequest.Builder

mergeFrom(ConfigureContactSettingsRequest other)

public ConfigureContactSettingsRequest.Builder mergeFrom(ConfigureContactSettingsRequest other)
Parameter
Name Description
other ConfigureContactSettingsRequest
Returns
Type Description
ConfigureContactSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConfigureContactSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ConfigureContactSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureContactSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public ConfigureContactSettingsRequest.Builder mergeUpdateMask(FieldMask value)

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
ConfigureContactSettingsRequest.Builder

setContactNotices(int index, ContactNotice value)

public ConfigureContactSettingsRequest.Builder setContactNotices(int index, ContactNotice value)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameters
Name Description
index int

The index to set the value at.

value ContactNotice

The contactNotices to set.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

setContactNoticesValue(int index, int value)

public ConfigureContactSettingsRequest.Builder setContactNoticesValue(int index, int value)

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in contact_settings.

repeated .google.cloud.domains.v1.ContactNotice contact_notices = 4;

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for contactNotices to set.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

setContactSettings(ContactSettings value)

public ConfigureContactSettingsRequest.Builder setContactSettings(ContactSettings value)

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Parameter
Name Description
value ContactSettings
Returns
Type Description
ConfigureContactSettingsRequest.Builder

setContactSettings(ContactSettings.Builder builderForValue)

public ConfigureContactSettingsRequest.Builder setContactSettings(ContactSettings.Builder builderForValue)

Fields of the ContactSettings to update.

.google.cloud.domains.v1.ContactSettings contact_settings = 2;

Parameter
Name Description
builderForValue ContactSettings.Builder
Returns
Type Description
ConfigureContactSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConfigureContactSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

setRegistration(String value)

public ConfigureContactSettingsRequest.Builder setRegistration(String value)

Required. The name of the Registration whose contact settings are being updated, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The registration to set.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

setRegistrationBytes(ByteString value)

public ConfigureContactSettingsRequest.Builder setRegistrationBytes(ByteString value)

Required. The name of the Registration whose contact settings are being updated, in the format projects/*/locations/*/registrations/*.

string registration = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for registration to set.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ConfigureContactSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureContactSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public ConfigureContactSettingsRequest.Builder setUpdateMask(FieldMask value)

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FieldMask
Returns
Type Description
ConfigureContactSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public ConfigureContactSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the registrant contact is being updated, the update_mask is "registrant_contact".

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ConfigureContactSettingsRequest.Builder

setValidateOnly(boolean value)

public ConfigureContactSettingsRequest.Builder setValidateOnly(boolean value)

Validate the request without actually updating the contact settings.

bool validate_only = 5;

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
ConfigureContactSettingsRequest.Builder

This builder for chaining.