Class UpdateRegistrationRequest (1.41.0)

public final class UpdateRegistrationRequest extends GeneratedMessageV3 implements UpdateRegistrationRequestOrBuilder

Request for the UpdateRegistration method.

Protobuf type google.cloud.domains.v1alpha2.UpdateRegistrationRequest

Static Fields

REGISTRATION_FIELD_NUMBER

public static final int REGISTRATION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static UpdateRegistrationRequest getDefaultInstance()
Returns
Type Description
UpdateRegistrationRequest

getDescriptor()

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

newBuilder()

public static UpdateRegistrationRequest.Builder newBuilder()
Returns
Type Description
UpdateRegistrationRequest.Builder

newBuilder(UpdateRegistrationRequest prototype)

public static UpdateRegistrationRequest.Builder newBuilder(UpdateRegistrationRequest prototype)
Parameter
Name Description
prototype UpdateRegistrationRequest
Returns
Type Description
UpdateRegistrationRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdateRegistrationRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateRegistrationRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static UpdateRegistrationRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateRegistrationRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateRegistrationRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateRegistrationRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateRegistrationRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateRegistrationRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static UpdateRegistrationRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateRegistrationRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static UpdateRegistrationRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateRegistrationRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateRegistrationRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<UpdateRegistrationRequest> parser()
Returns
Type Description
Parser<UpdateRegistrationRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public UpdateRegistrationRequest getDefaultInstanceForType()
Returns
Type Description
UpdateRegistrationRequest

getParserForType()

public Parser<UpdateRegistrationRequest> getParserForType()
Returns
Type Description
Parser<UpdateRegistrationRequest>
Overrides

getRegistration()

public Registration getRegistration()

Fields of the Registration to update.

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

Returns
Type Description
Registration

The registration.

getRegistrationOrBuilder()

public RegistrationOrBuilder getRegistrationOrBuilder()

Fields of the Registration to update.

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

Returns
Type Description
RegistrationOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.v1alpha2.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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public UpdateRegistrationRequest.Builder newBuilderForType()
Returns
Type Description
UpdateRegistrationRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateRegistrationRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
UpdateRegistrationRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public UpdateRegistrationRequest.Builder toBuilder()
Returns
Type Description
UpdateRegistrationRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException