Class ImportTaxonomiesRequest (1.36.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
TypeDescription
int

INLINE_SOURCE_FIELD_NUMBER

public static final int INLINE_SOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportTaxonomiesRequest getDefaultInstance()
Returns
TypeDescription
ImportTaxonomiesRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ImportTaxonomiesRequest prototype)

public static ImportTaxonomiesRequest.Builder newBuilder(ImportTaxonomiesRequest prototype)
Parameter
NameDescription
prototypeImportTaxonomiesRequest
Returns
TypeDescription
ImportTaxonomiesRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCrossRegionalSource()

public CrossRegionalSource getCrossRegionalSource()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
CrossRegionalSource

The crossRegionalSource.

getCrossRegionalSourceOrBuilder()

public CrossRegionalSourceOrBuilder getCrossRegionalSourceOrBuilder()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
CrossRegionalSourceOrBuilder

getDefaultInstanceForType()

public ImportTaxonomiesRequest getDefaultInstanceForType()
Returns
TypeDescription
ImportTaxonomiesRequest

getInlineSource()

public InlineSource getInlineSource()

Inline source taxonomy to import.

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

Returns
TypeDescription
InlineSource

The inlineSource.

getInlineSourceOrBuilder()

public InlineSourceOrBuilder getInlineSourceOrBuilder()

Inline source taxonomy to import.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceCase()

public ImportTaxonomiesRequest.SourceCase getSourceCase()
Returns
TypeDescription
ImportTaxonomiesRequest.SourceCase

hasCrossRegionalSource()

public boolean hasCrossRegionalSource()

Cross-regional source taxonomy to import.

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

Returns
TypeDescription
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
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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