Class UpdateRegistrationRequest.Builder (1.24.0)

public static final class UpdateRegistrationRequest.Builder extends GeneratedMessageV3.Builder<UpdateRegistrationRequest.Builder> implements UpdateRegistrationRequestOrBuilder

Request for the UpdateRegistration method.

Protobuf type google.cloud.domains.v1.UpdateRegistrationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateRegistrationRequest build()
Returns
TypeDescription
UpdateRegistrationRequest

buildPartial()

public UpdateRegistrationRequest buildPartial()
Returns
TypeDescription
UpdateRegistrationRequest

clear()

public UpdateRegistrationRequest.Builder clear()
Returns
TypeDescription
UpdateRegistrationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateRegistrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateRegistrationRequest.Builder
Overrides

clearRegistration()

public UpdateRegistrationRequest.Builder clearRegistration()

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Returns
TypeDescription
UpdateRegistrationRequest.Builder

clearUpdateMask()

public UpdateRegistrationRequest.Builder clearUpdateMask()

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateRegistrationRequest.Builder

clone()

public UpdateRegistrationRequest.Builder clone()
Returns
TypeDescription
UpdateRegistrationRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateRegistrationRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateRegistrationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRegistration()

public Registration getRegistration()

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Returns
TypeDescription
Registration

The registration.

getRegistrationBuilder()

public Registration.Builder getRegistrationBuilder()

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Returns
TypeDescription
Registration.Builder

getRegistrationOrBuilder()

public RegistrationOrBuilder getRegistrationOrBuilder()

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Returns
TypeDescription
RegistrationOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.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 labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.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 labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasRegistration()

public boolean hasRegistration()

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Returns
TypeDescription
boolean

Whether the registration 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 labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.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

mergeFrom(UpdateRegistrationRequest other)

public UpdateRegistrationRequest.Builder mergeFrom(UpdateRegistrationRequest other)
Parameter
NameDescription
otherUpdateRegistrationRequest
Returns
TypeDescription
UpdateRegistrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRegistration(Registration value)

public UpdateRegistrationRequest.Builder mergeRegistration(Registration value)

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Parameter
NameDescription
valueRegistration
Returns
TypeDescription
UpdateRegistrationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRegistrationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateRegistrationRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateRegistrationRequest.Builder mergeUpdateMask(FieldMask value)

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRegistrationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setRegistration(Registration value)

public UpdateRegistrationRequest.Builder setRegistration(Registration value)

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Parameter
NameDescription
valueRegistration
Returns
TypeDescription
UpdateRegistrationRequest.Builder

setRegistration(Registration.Builder builderForValue)

public UpdateRegistrationRequest.Builder setRegistration(Registration.Builder builderForValue)

Fields of the Registration to update.

.google.cloud.domains.v1.Registration registration = 1;

Parameter
NameDescription
builderForValueRegistration.Builder
Returns
TypeDescription
UpdateRegistrationRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateRegistrationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateRegistrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRegistrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateRegistrationRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateRegistrationRequest.Builder setUpdateMask(FieldMask value)

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateRegistrationRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateRegistrationRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. The field mask describing which fields to update as a comma-separated list. For example, if only the labels are being updated, the update_mask is "labels".

.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateRegistrationRequest.Builder