Class SchemaEntity (2.34.0)

public final class SchemaEntity extends GeneratedMessageV3 implements SchemaEntityOrBuilder

Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which support it). For some database engines, the terms schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.

Protobuf type google.cloud.clouddms.v1.SchemaEntity

Static Fields

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SchemaEntity getDefaultInstance()
Returns
TypeDescription
SchemaEntity

getDescriptor()

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

newBuilder()

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

newBuilder(SchemaEntity prototype)

public static SchemaEntity.Builder newBuilder(SchemaEntity prototype)
Parameter
NameDescription
prototypeSchemaEntity
Returns
TypeDescription
SchemaEntity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public SchemaEntity getDefaultInstanceForType()
Returns
TypeDescription
SchemaEntity

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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