Class ImportTaxonomiesRequest (1.49.0)

public final class ImportTaxonomiesRequest extends GeneratedMessageV3 implements ImportTaxonomiesRequestOrBuilder

Request message for ImportTaxonomies.

Protobuf type google.cloud.datacatalog.v1.ImportTaxonomiesRequest

Static Fields

CROSS_REGIONAL_SOURCE_FIELD_NUMBER

public static final int CROSS_REGIONAL_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

INLINE_SOURCE_FIELD_NUMBER

public static final int INLINE_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportTaxonomiesRequest getDefaultInstance()
Returns
Type Description
ImportTaxonomiesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ImportTaxonomiesRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCrossRegionalSource()

public CrossRegionalSource getCrossRegionalSource()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
CrossRegionalSource

The crossRegionalSource.

getCrossRegionalSourceOrBuilder()

public CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
CrossRegionalSourceOrBuilder

getDefaultInstanceForType()

public ImportTaxonomiesRequest getDefaultInstanceForType()
Returns
Type Description
ImportTaxonomiesRequest

getInlineSource()

public InlineSource getInlineSource()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
InlineSource

The inlineSource.

getInlineSourceOrBuilder()

public InlineSourceOrBuilder getInlineSourceOrBuilder()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
InlineSourceOrBuilder

getParent()

public String getParent()

Required. Resource name of project that the imported taxonomies will belong to.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of project that the imported taxonomies will belong to.

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

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public ImportTaxonomiesRequest.SourceCase getSourceCase()
Returns
Type Description
ImportTaxonomiesRequest.SourceCase

hasCrossRegionalSource()

public boolean hasCrossRegionalSource()

Cross-regional source taxonomy to import.

.google.cloud.datacatalog.v1.CrossRegionalSource cross_regional_source = 3;

Returns
Type Description
boolean

Whether the crossRegionalSource field is set.

hasInlineSource()

public boolean hasInlineSource()

Inline source taxonomy to import.

.google.cloud.datacatalog.v1.InlineSource inline_source = 2;

Returns
Type Description
boolean

Whether the inlineSource 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 ImportTaxonomiesRequest.Builder newBuilderForType()
Returns
Type Description
ImportTaxonomiesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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