Class ConfigureContactSettingsRequest (1.5.0)

public final class ConfigureContactSettingsRequest extends GeneratedMessageV3 implements ConfigureContactSettingsRequestOrBuilder

Request for the ConfigureContactSettings method.

Protobuf type google.cloud.domains.v1.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
TypeDescription
int

CONTACT_SETTINGS_FIELD_NUMBER

public static final int CONTACT_SETTINGS_FIELD_NUMBER
Field Value
TypeDescription
int

REGISTRATION_FIELD_NUMBER

public static final int REGISTRATION_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATE_ONLY_FIELD_NUMBER

public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ConfigureContactSettingsRequest getDefaultInstance()
Returns
TypeDescription
ConfigureContactSettingsRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ConfigureContactSettingsRequest.Builder newBuilder()
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

newBuilder(ConfigureContactSettingsRequest prototype)

public static ConfigureContactSettingsRequest.Builder newBuilder(ConfigureContactSettingsRequest prototype)
Parameter
NameDescription
prototypeConfigureContactSettingsRequest
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ConfigureContactSettingsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ConfigureContactSettingsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ConfigureContactSettingsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ConfigureContactSettingsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ConfigureContactSettingsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ConfigureContactSettingsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ConfigureContactSettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ConfigureContactSettingsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ConfigureContactSettingsRequest> parser()
Returns
TypeDescription
Parser<ConfigureContactSettingsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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.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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ConfigureContactSettingsRequest.Builder newBuilderForType()
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ConfigureContactSettingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ConfigureContactSettingsRequest.Builder toBuilder()
Returns
TypeDescription
ConfigureContactSettingsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException