Class ReplaceTaxonomyRequest (1.43.0)

public final class ReplaceTaxonomyRequest extends GeneratedMessageV3 implements ReplaceTaxonomyRequestOrBuilder

Request message for ReplaceTaxonomy.

Protobuf type google.cloud.datacatalog.v1.ReplaceTaxonomyRequest

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SERIALIZED_TAXONOMY_FIELD_NUMBER

public static final int SERIALIZED_TAXONOMY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplaceTaxonomyRequest getDefaultInstance()
Returns
TypeDescription
ReplaceTaxonomyRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ReplaceTaxonomyRequest prototype)

public static ReplaceTaxonomyRequest.Builder newBuilder(ReplaceTaxonomyRequest prototype)
Parameter
NameDescription
prototypeReplaceTaxonomyRequest
Returns
TypeDescription
ReplaceTaxonomyRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReplaceTaxonomyRequest getDefaultInstanceForType()
Returns
TypeDescription
ReplaceTaxonomyRequest

getName()

public String getName()

Required. Resource name of the taxonomy to update.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Resource name of the taxonomy to update.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ReplaceTaxonomyRequest> getParserForType()
Returns
TypeDescription
Parser<ReplaceTaxonomyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSerializedTaxonomy()

public SerializedTaxonomy getSerializedTaxonomy()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SerializedTaxonomy

The serializedTaxonomy.

getSerializedTaxonomyOrBuilder()

public SerializedTaxonomyOrBuilder getSerializedTaxonomyOrBuilder()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SerializedTaxonomyOrBuilder

hasSerializedTaxonomy()

public boolean hasSerializedTaxonomy()

Required. Taxonomy to update along with its child policy tags.

.google.cloud.datacatalog.v1.SerializedTaxonomy serialized_taxonomy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the serializedTaxonomy 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 ReplaceTaxonomyRequest.Builder newBuilderForType()
Returns
TypeDescription
ReplaceTaxonomyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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