Class ConfigureContactSettingsRequest (1.50.0)

public final class ConfigureContactSettingsRequest extends GeneratedMessageV3 implements ConfigureContactSettingsRequestOrBuilder

Request for the ConfigureContactSettings method.

Protobuf type google.cloud.domains.v1beta1.ConfigureContactSettingsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ConfigureContactSettingsRequest

Static Fields

CONTACT_NOTICES_FIELD_NUMBER

public static final int CONTACT_NOTICES_FIELD_NUMBER
Field Value
Type Description
int

CONTACT_SETTINGS_FIELD_NUMBER

public static final int CONTACT_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

REGISTRATION_FIELD_NUMBER

public static final int REGISTRATION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ConfigureContactSettingsRequest getDefaultInstance()
Returns
Type Description
ConfigureContactSettingsRequest

getDescriptor()

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

newBuilder()

public static ConfigureContactSettingsRequest.Builder newBuilder()
Returns
Type Description
ConfigureContactSettingsRequest.Builder

newBuilder(ConfigureContactSettingsRequest prototype)

public static ConfigureContactSettingsRequest.Builder newBuilder(ConfigureContactSettingsRequest prototype)
Parameter
Name Description
prototype ConfigureContactSettingsRequest
Returns
Type Description
ConfigureContactSettingsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ConfigureContactSettingsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ConfigureContactSettingsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConfigureContactSettingsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConfigureContactSettingsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ConfigureContactSettingsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ConfigureContactSettingsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ConfigureContactSettingsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ConfigureContactSettingsRequest> parser()
Returns
Type Description
Parser<ConfigureContactSettingsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ContactSettings contact_settings = 2;

Returns
Type Description
ContactSettings

The contactSettings.

getContactSettingsOrBuilder()

public ContactSettingsOrBuilder getContactSettingsOrBuilder()

Fields of the ContactSettings to update.

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

Returns
Type Description
ContactSettingsOrBuilder

getDefaultInstanceForType()

public ConfigureContactSettingsRequest getDefaultInstanceForType()
Returns
Type Description
ConfigureContactSettingsRequest

getParserForType()

public Parser<ConfigureContactSettingsRequest> getParserForType()
Returns
Type Description
Parser<ConfigureContactSettingsRequest>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.v1beta1.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ConfigureContactSettingsRequest.Builder newBuilderForType()
Returns
Type Description
ConfigureContactSettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConfigureContactSettingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ConfigureContactSettingsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ConfigureContactSettingsRequest.Builder toBuilder()
Returns
Type Description
ConfigureContactSettingsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException