Class ConfigureContactSettingsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ConfigureContactSettingsRequest.Builder>
com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest.Builder
- All Implemented Interfaces:
ConfigureContactSettingsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConfigureContactSettingsRequest
public static final class ConfigureContactSettingsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ConfigureContactSettingsRequest.Builder>
implements ConfigureContactSettingsRequestOrBuilder
Request for the `ConfigureContactSettings` method.Protobuf type
google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllContactNotices(Iterable<? extends ContactNotice> values) The list of contact notices that the caller acknowledges.addAllContactNoticesValue(Iterable<Integer> values) The list of contact notices that the caller acknowledges.addContactNotices(ContactNotice value) The list of contact notices that the caller acknowledges.addContactNoticesValue(int value) The list of contact notices that the caller acknowledges.build()clear()The list of contact notices that the caller acknowledges.Fields of the `ContactSettings` to update.Required.Required.Validate the request without actually updating the contact settings.getContactNotices(int index) The list of contact notices that the caller acknowledges.intThe list of contact notices that the caller acknowledges.The list of contact notices that the caller acknowledges.intgetContactNoticesValue(int index) The list of contact notices that the caller acknowledges.The list of contact notices that the caller acknowledges.Fields of the `ContactSettings` to update.Fields of the `ContactSettings` to update.Fields of the `ContactSettings` to update.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.com.google.protobuf.FieldMaskRequired.com.google.protobuf.FieldMask.BuilderRequired.com.google.protobuf.FieldMaskOrBuilderRequired.booleanValidate the request without actually updating the contact settings.booleanFields of the `ContactSettings` to update.booleanRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanFields of the `ContactSettings` to update.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateMask(com.google.protobuf.FieldMask value) Required.setContactNotices(int index, ContactNotice value) The list of contact notices that the caller acknowledges.setContactNoticesValue(int index, int value) The list of contact notices that the caller acknowledges.Fields of the `ContactSettings` to update.setContactSettings(ContactSettings.Builder builderForValue) Fields of the `ContactSettings` to update.setRegistration(String value) Required.setRegistrationBytes(com.google.protobuf.ByteString value) Required.setUpdateMask(com.google.protobuf.FieldMask value) Required.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Required.setValidateOnly(boolean value) Validate the request without actually updating the contact settings.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ConfigureContactSettingsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ConfigureContactSettingsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ConfigureContactSettingsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigureContactSettingsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ConfigureContactSettingsRequest.Builder>
-
mergeFrom
public ConfigureContactSettingsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConfigureContactSettingsRequest.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getRegistrationin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- The registration.
-
getRegistrationBytes
public com.google.protobuf.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) = { ... }- Specified by:
getRegistrationBytesin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- The bytes for registration.
-
setRegistration
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) = { ... }- Parameters:
value- The registration to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setRegistrationBytes
public ConfigureContactSettingsRequest.Builder setRegistrationBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes for registration to set.- Returns:
- This builder for chaining.
-
hasContactSettings
public boolean hasContactSettings()Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2;- Specified by:
hasContactSettingsin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- Whether the contactSettings field is set.
-
getContactSettings
Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2;- Specified by:
getContactSettingsin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- The contactSettings.
-
setContactSettings
Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; -
setContactSettings
public ConfigureContactSettingsRequest.Builder setContactSettings(ContactSettings.Builder builderForValue) Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; -
mergeContactSettings
Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; -
clearContactSettings
Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; -
getContactSettingsBuilder
Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2; -
getContactSettingsOrBuilder
Fields of the `ContactSettings` to update.
.google.cloud.domains.v1alpha2.ContactSettings contact_settings = 2;- Specified by:
getContactSettingsOrBuilderin interfaceConfigureContactSettingsRequestOrBuilder
-
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];- Specified by:
hasUpdateMaskin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.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];- Specified by:
getUpdateMaskin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
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]; -
setUpdateMask
public ConfigureContactSettingsRequest.Builder setUpdateMask(com.google.protobuf.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]; -
mergeUpdateMask
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]; -
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]; -
getUpdateMaskBuilder
public com.google.protobuf.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]; -
getUpdateMaskOrBuilder
public com.google.protobuf.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];- Specified by:
getUpdateMaskOrBuilderin interfaceConfigureContactSettingsRequestOrBuilder
-
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.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesListin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- A list containing the contactNotices.
-
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.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesCountin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- The count of contactNotices.
-
getContactNotices
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.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesin interfaceConfigureContactSettingsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The contactNotices at the given index.
-
setContactNotices
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.v1alpha2.ContactNotice contact_notices = 4;- Parameters:
index- The index to set the value at.value- The contactNotices to set.- Returns:
- This builder for chaining.
-
addContactNotices
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.v1alpha2.ContactNotice contact_notices = 4;- Parameters:
value- The contactNotices to add.- Returns:
- This builder for chaining.
-
addAllContactNotices
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.v1alpha2.ContactNotice contact_notices = 4;- Parameters:
values- The contactNotices to add.- Returns:
- This builder for chaining.
-
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.v1alpha2.ContactNotice contact_notices = 4;- Returns:
- This builder for chaining.
-
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.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesValueListin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for contactNotices.
-
getContactNoticesValue
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.v1alpha2.ContactNotice contact_notices = 4;- Specified by:
getContactNoticesValuein interfaceConfigureContactSettingsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of contactNotices at the given index.
-
setContactNoticesValue
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.v1alpha2.ContactNotice contact_notices = 4;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for contactNotices to set.- Returns:
- This builder for chaining.
-
addContactNoticesValue
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.v1alpha2.ContactNotice contact_notices = 4;- Parameters:
value- The enum numeric value on the wire for contactNotices to add.- Returns:
- This builder for chaining.
-
addAllContactNoticesValue
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.v1alpha2.ContactNotice contact_notices = 4;- Parameters:
values- The enum numeric values on the wire for contactNotices to add.- Returns:
- This builder for chaining.
-
getValidateOnly
public boolean getValidateOnly()Validate the request without actually updating the contact settings.
bool validate_only = 5;- Specified by:
getValidateOnlyin interfaceConfigureContactSettingsRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
Validate the request without actually updating the contact settings.
bool validate_only = 5;- Parameters:
value- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
Validate the request without actually updating the contact settings.
bool validate_only = 5;- Returns:
- This builder for chaining.
-