public final class ConfigureContactSettingsRequest extends GeneratedMessageV3 implements ConfigureContactSettingsRequestOrBuilder
Request for the ConfigureContactSettings
method.
Protobuf type google.cloud.domains.v1.ConfigureContactSettingsRequest
Static Fields
CONTACT_NOTICES_FIELD_NUMBER
public static final int CONTACT_NOTICES_FIELD_NUMBER
Field Value
CONTACT_SETTINGS_FIELD_NUMBER
public static final int CONTACT_SETTINGS_FIELD_NUMBER
Field Value
REGISTRATION_FIELD_NUMBER
public static final int REGISTRATION_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ConfigureContactSettingsRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ConfigureContactSettingsRequest.Builder newBuilder()
Returns
newBuilder(ConfigureContactSettingsRequest prototype)
public static ConfigureContactSettingsRequest.Builder newBuilder(ConfigureContactSettingsRequest prototype)
Parameter
Returns
parseDelimitedFrom(InputStream input)
public static ConfigureContactSettingsRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigureContactSettingsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ConfigureContactSettingsRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ConfigureContactSettingsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ConfigureContactSettingsRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ConfigureContactSettingsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(CodedInputStream input)
public static ConfigureContactSettingsRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigureContactSettingsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(InputStream input)
public static ConfigureContactSettingsRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ConfigureContactSettingsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ConfigureContactSettingsRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ConfigureContactSettingsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ConfigureContactSettingsRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getContactSettingsOrBuilder()
public ContactSettingsOrBuilder getContactSettingsOrBuilder()
Fields of the ContactSettings
to update.
.google.cloud.domains.v1.ContactSettings contact_settings = 2;
Returns
getDefaultInstanceForType()
public ConfigureContactSettingsRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ConfigureContactSettingsRequest> getParserForType()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ConfigureContactSettingsRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ConfigureContactSettingsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ConfigureContactSettingsRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions