Class UpdateTaxonomyRequest (1.52.0)

public final class UpdateTaxonomyRequest extends GeneratedMessageV3 implements UpdateTaxonomyRequestOrBuilder

Request message for UpdateTaxonomy.

Protobuf type google.cloud.datacatalog.v1beta1.UpdateTaxonomyRequest

Static Fields

TAXONOMY_FIELD_NUMBER

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

getDescriptor()

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

newBuilder()

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

newBuilder(UpdateTaxonomyRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public UpdateTaxonomyRequest getDefaultInstanceForType()
Returns
Type Description
UpdateTaxonomyRequest

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTaxonomy()

public Taxonomy getTaxonomy()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
Taxonomy

The taxonomy.

getTaxonomyOrBuilder()

public TaxonomyOrBuilder getTaxonomyOrBuilder()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
TaxonomyOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasTaxonomy()

public boolean hasTaxonomy()

The taxonomy to update. Only description, display_name, and activated policy types can be updated.

.google.cloud.datacatalog.v1beta1.Taxonomy taxonomy = 1;

Returns
Type Description
boolean

Whether the taxonomy field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The update mask applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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