Class UpdatePolicyTagRequest (1.60.0)

public final class UpdatePolicyTagRequest extends GeneratedMessageV3 implements UpdatePolicyTagRequestOrBuilder

Request message for UpdatePolicyTag.

Protobuf type google.cloud.datacatalog.v1.UpdatePolicyTagRequest

Static Fields

POLICY_TAG_FIELD_NUMBER

public static final int POLICY_TAG_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 UpdatePolicyTagRequest getDefaultInstance()
Returns
Type Description
UpdatePolicyTagRequest

getDescriptor()

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

newBuilder()

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

newBuilder(UpdatePolicyTagRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdatePolicyTagRequest getDefaultInstanceForType()
Returns
Type Description
UpdatePolicyTagRequest

getParserForType()

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

getPolicyTag()

public PolicyTag getPolicyTag()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
PolicyTag

The policyTag.

getPolicyTagOrBuilder()

public PolicyTagOrBuilder getPolicyTagOrBuilder()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
PolicyTagOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasPolicyTag()

public boolean hasPolicyTag()

The policy tag to update. You can update only its description, display name, and parent policy tag fields.

.google.cloud.datacatalog.v1.PolicyTag policy_tag = 1;

Returns
Type Description
boolean

Whether the policyTag field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Specifies the fields to update.

You can update only display name, description, and parent policy tag. If not set, defaults to all updatable fields. For more information, see FieldMask.

.google.protobuf.FieldMask update_mask = 2;

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 UpdatePolicyTagRequest.Builder newBuilderForType()
Returns
Type Description
UpdatePolicyTagRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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