Class CrossRegionalSource (1.24.0)

public final class CrossRegionalSource extends GeneratedMessageV3 implements CrossRegionalSourceOrBuilder

Cross-regional source used to import an existing taxonomy into a different region.

Protobuf type google.cloud.datacatalog.v1.CrossRegionalSource

Static Fields

TAXONOMY_FIELD_NUMBER

public static final int TAXONOMY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CrossRegionalSource getDefaultInstance()
Returns
TypeDescription
CrossRegionalSource

getDescriptor()

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

newBuilder()

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

newBuilder(CrossRegionalSource prototype)

public static CrossRegionalSource.Builder newBuilder(CrossRegionalSource prototype)
Parameter
NameDescription
prototypeCrossRegionalSource
Returns
TypeDescription
CrossRegionalSource.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public CrossRegionalSource getDefaultInstanceForType()
Returns
TypeDescription
CrossRegionalSource

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTaxonomy()

public String getTaxonomy()

Required. The resource name of the source taxonomy to import.

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

Returns
TypeDescription
String

The taxonomy.

getTaxonomyBytes()

public ByteString getTaxonomyBytes()

Required. The resource name of the source taxonomy to import.

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

Returns
TypeDescription
ByteString

The bytes for taxonomy.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 CrossRegionalSource.Builder newBuilderForType()
Returns
TypeDescription
CrossRegionalSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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