Class UpdatePolicyTagRequest (1.15.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
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdatePolicyTagRequest getDefaultInstance()
Returns
TypeDescription
UpdatePolicyTagRequest

getDescriptor()

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

newBuilder()

public static UpdatePolicyTagRequest.Builder newBuilder()
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

newBuilder(UpdatePolicyTagRequest prototype)

public static UpdatePolicyTagRequest.Builder newBuilder(UpdatePolicyTagRequest prototype)
Parameter
NameDescription
prototypeUpdatePolicyTagRequest
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

parseDelimitedFrom(InputStream input)

public static UpdatePolicyTagRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdatePolicyTagRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdatePolicyTagRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdatePolicyTagRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdatePolicyTagRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdatePolicyTagRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdatePolicyTagRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdatePolicyTagRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdatePolicyTagRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdatePolicyTagRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdatePolicyTagRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdatePolicyTagRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdatePolicyTagRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdatePolicyTagRequest> parser()
Returns
TypeDescription
Parser<UpdatePolicyTagRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public UpdatePolicyTagRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdatePolicyTagRequest

getParserForType()

public Parser<UpdatePolicyTagRequest> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PolicyTagOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdatePolicyTagRequest.Builder newBuilderForType()
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdatePolicyTagRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdatePolicyTagRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdatePolicyTagRequest.Builder toBuilder()
Returns
TypeDescription
UpdatePolicyTagRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException