Class ConfigureContactSettingsRequest.Builder (1.28.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.domains.v1.ContactNotice>

The contactNotices to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
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
NameDescription
valueContactNotice

The contactNotices to add.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ConfigureContactSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder
Overrides

build()

public ConfigureContactSettingsRequest build()
Returns
TypeDescription
ConfigureContactSettingsRequest

buildPartial()

public ConfigureContactSettingsRequest buildPartial()
Returns
TypeDescription
ConfigureContactSettingsRequest

clear()

public ConfigureContactSettingsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ConfigureContactSettingsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ConfigureContactSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ConfigureContactSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ConfigureContactSettingsRequest.Builder

clearValidateOnly()

public ConfigureContactSettingsRequest.Builder clearValidateOnly()

Validate the request without actually updating the contact settings.

bool validate_only = 5;

Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

This builder for chaining.

clone()

public ConfigureContactSettingsRequest.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ContactSettings

The contactSettings.

getContactSettingsBuilder()

public ContactSettings.Builder getContactSettingsBuilder()

Fields of the ContactSettings to update.

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

Returns
TypeDescription
ContactSettings.Builder

getContactSettingsOrBuilder()

public ContactSettingsOrBuilder getContactSettingsOrBuilder()

Fields of the ContactSettings to update.

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

Returns
TypeDescription
ContactSettingsOrBuilder

getDefaultInstanceForType()

public ConfigureContactSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
ConfigureContactSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Validate the request without actually updating the contact settings.

bool validate_only = 5;

Returns
TypeDescription
boolean

The validateOnly.

hasContactSettings()

public boolean hasContactSettings()

Fields of the ContactSettings to update.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueContactSettings
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

mergeFrom(ConfigureContactSettingsRequest other)

public ConfigureContactSettingsRequest.Builder mergeFrom(ConfigureContactSettingsRequest other)
Parameter
NameDescription
otherConfigureContactSettingsRequest
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ConfigureContactSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ConfigureContactSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureContactSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueContactNotice

The contactNotices to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueint

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

Returns
TypeDescription
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
NameDescription
valueContactSettings
Returns
TypeDescription
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
NameDescription
builderForValueContactSettings.Builder
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ConfigureContactSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The registration to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for registration to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ConfigureContactSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

This builder for chaining.