Class UpdateRegistrationRequest.Builder (1.40.0)

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

Request for the UpdateRegistration method.

Protobuf type google.cloud.domains.v1beta1.UpdateRegistrationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateRegistrationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

build()

public UpdateRegistrationRequest build()
Returns
Type Description
UpdateRegistrationRequest

buildPartial()

public UpdateRegistrationRequest buildPartial()
Returns
Type Description
UpdateRegistrationRequest

clear()

public UpdateRegistrationRequest.Builder clear()
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateRegistrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateRegistrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

clearRegistration()

public UpdateRegistrationRequest.Builder clearRegistration()

Fields of the Registration to update.

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

Returns
Type Description
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
Type Description
UpdateRegistrationRequest.Builder

clone()

public UpdateRegistrationRequest.Builder clone()
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateRegistrationRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRegistrationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRegistration()

public Registration getRegistration()

Fields of the Registration to update.

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

Returns
Type Description
Registration

The registration.

getRegistrationBuilder()

public Registration.Builder getRegistrationBuilder()

Fields of the Registration to update.

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

Returns
Type Description
Registration.Builder

getRegistrationOrBuilder()

public RegistrationOrBuilder getRegistrationOrBuilder()

Fields of the Registration to update.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasRegistration()

public boolean hasRegistration()

Fields of the Registration to update.

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

Returns
Type Description
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
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateRegistrationRequest other)

public UpdateRegistrationRequest.Builder mergeFrom(UpdateRegistrationRequest other)
Parameter
Name Description
other UpdateRegistrationRequest
Returns
Type Description
UpdateRegistrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateRegistrationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateRegistrationRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

mergeRegistration(Registration value)

public UpdateRegistrationRequest.Builder mergeRegistration(Registration value)

Fields of the Registration to update.

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

Parameter
Name Description
value Registration
Returns
Type Description
UpdateRegistrationRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRegistrationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
UpdateRegistrationRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateRegistrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

setRegistration(Registration value)

public UpdateRegistrationRequest.Builder setRegistration(Registration value)

Fields of the Registration to update.

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

Parameter
Name Description
value Registration
Returns
Type Description
UpdateRegistrationRequest.Builder

setRegistration(Registration.Builder builderForValue)

public UpdateRegistrationRequest.Builder setRegistration(Registration.Builder builderForValue)

Fields of the Registration to update.

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

Parameter
Name Description
builderForValue Registration.Builder
Returns
Type Description
UpdateRegistrationRequest.Builder

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

public UpdateRegistrationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateRegistrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value FieldMask
Returns
Type Description
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
Name Description
builderForValue Builder
Returns
Type Description
UpdateRegistrationRequest.Builder