public final class ConstraintEntity extends com.google.protobuf.GeneratedMessageV3 implements ConstraintEntityOrBuilder
Constraint is not used as an independent entity, it is retrieved as part of another entity such as Table or View.Protobuf type
google.cloud.clouddms.v1.ConstraintEntity| Modifier and Type | Class and Description |
|---|---|
static class |
ConstraintEntity.Builder
Constraint is not used as an independent entity, it is retrieved
as part of another entity such as Table or View.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CUSTOM_FEATURES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
REFERENCE_COLUMNS_FIELD_NUMBER |
static int |
REFERENCE_TABLE_FIELD_NUMBER |
static int |
TABLE_COLUMNS_FIELD_NUMBER |
static int |
TABLE_NAME_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Struct |
getCustomFeatures()
Custom engine specific features.
|
com.google.protobuf.StructOrBuilder |
getCustomFeaturesOrBuilder()
Custom engine specific features.
|
static ConstraintEntity |
getDefaultInstance() |
ConstraintEntity |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
The name of the table constraint.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the table constraint.
|
com.google.protobuf.Parser<ConstraintEntity> |
getParserForType() |
String |
getReferenceColumns(int index)
Reference columns which may be associated with the constraint.
|
com.google.protobuf.ByteString |
getReferenceColumnsBytes(int index)
Reference columns which may be associated with the constraint.
|
int |
getReferenceColumnsCount()
Reference columns which may be associated with the constraint.
|
com.google.protobuf.ProtocolStringList |
getReferenceColumnsList()
Reference columns which may be associated with the constraint.
|
String |
getReferenceTable()
Reference table which may be associated with the constraint.
|
com.google.protobuf.ByteString |
getReferenceTableBytes()
Reference table which may be associated with the constraint.
|
int |
getSerializedSize() |
String |
getTableColumns(int index)
Table columns used as part of the Constraint, for example primary key
constraint should list the columns which constitutes the key.
|
com.google.protobuf.ByteString |
getTableColumnsBytes(int index)
Table columns used as part of the Constraint, for example primary key
constraint should list the columns which constitutes the key.
|
int |
getTableColumnsCount()
Table columns used as part of the Constraint, for example primary key
constraint should list the columns which constitutes the key.
|
com.google.protobuf.ProtocolStringList |
getTableColumnsList()
Table columns used as part of the Constraint, for example primary key
constraint should list the columns which constitutes the key.
|
String |
getTableName()
Table which is associated with the constraint.
|
com.google.protobuf.ByteString |
getTableNameBytes()
Table which is associated with the constraint.
|
String |
getType()
Type of constraint, for example unique, primary key, foreign key (currently
only primary key is supported).
|
com.google.protobuf.ByteString |
getTypeBytes()
Type of constraint, for example unique, primary key, foreign key (currently
only primary key is supported).
|
boolean |
hasCustomFeatures()
Custom engine specific features.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ConstraintEntity.Builder |
newBuilder() |
static ConstraintEntity.Builder |
newBuilder(ConstraintEntity prototype) |
ConstraintEntity.Builder |
newBuilderForType() |
protected ConstraintEntity.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ConstraintEntity |
parseDelimitedFrom(InputStream input) |
static ConstraintEntity |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintEntity |
parseFrom(byte[] data) |
static ConstraintEntity |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintEntity |
parseFrom(ByteBuffer data) |
static ConstraintEntity |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintEntity |
parseFrom(com.google.protobuf.ByteString data) |
static ConstraintEntity |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintEntity |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ConstraintEntity |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ConstraintEntity |
parseFrom(InputStream input) |
static ConstraintEntity |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ConstraintEntity> |
parser() |
ConstraintEntity.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int TABLE_COLUMNS_FIELD_NUMBER
public static final int CUSTOM_FEATURES_FIELD_NUMBER
public static final int REFERENCE_COLUMNS_FIELD_NUMBER
public static final int REFERENCE_TABLE_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
The name of the table constraint.
string name = 1;getName in interface ConstraintEntityOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the table constraint.
string name = 1;getNameBytes in interface ConstraintEntityOrBuilderpublic String getType()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;getType in interface ConstraintEntityOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;getTypeBytes in interface ConstraintEntityOrBuilderpublic com.google.protobuf.ProtocolStringList getTableColumnsList()
Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.
repeated string table_columns = 3;getTableColumnsList in interface ConstraintEntityOrBuilderpublic int getTableColumnsCount()
Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.
repeated string table_columns = 3;getTableColumnsCount in interface ConstraintEntityOrBuilderpublic String getTableColumns(int index)
Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.
repeated string table_columns = 3;getTableColumns in interface ConstraintEntityOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTableColumnsBytes(int index)
Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.
repeated string table_columns = 3;getTableColumnsBytes in interface ConstraintEntityOrBuilderindex - The index of the value to return.public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;hasCustomFeatures in interface ConstraintEntityOrBuilderpublic com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;getCustomFeatures in interface ConstraintEntityOrBuilderpublic com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;getCustomFeaturesOrBuilder in interface ConstraintEntityOrBuilderpublic com.google.protobuf.ProtocolStringList getReferenceColumnsList()
Reference columns which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign key.
repeated string reference_columns = 5;getReferenceColumnsList in interface ConstraintEntityOrBuilderpublic int getReferenceColumnsCount()
Reference columns which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign key.
repeated string reference_columns = 5;getReferenceColumnsCount in interface ConstraintEntityOrBuilderpublic String getReferenceColumns(int index)
Reference columns which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign key.
repeated string reference_columns = 5;getReferenceColumns in interface ConstraintEntityOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getReferenceColumnsBytes(int index)
Reference columns which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign key.
repeated string reference_columns = 5;getReferenceColumnsBytes in interface ConstraintEntityOrBuilderindex - The index of the value to return.public String getReferenceTable()
Reference table which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the foreign key.
string reference_table = 6;getReferenceTable in interface ConstraintEntityOrBuilderpublic com.google.protobuf.ByteString getReferenceTableBytes()
Reference table which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the foreign key.
string reference_table = 6;getReferenceTableBytes in interface ConstraintEntityOrBuilderpublic String getTableName()
Table which is associated with the constraint. In case the constraint is defined on a table, this field is left empty as this information is stored in parent_name. However, if constraint is defined on a view, this field stores the table name on which the view is defined.
string table_name = 7;getTableName in interface ConstraintEntityOrBuilderpublic com.google.protobuf.ByteString getTableNameBytes()
Table which is associated with the constraint. In case the constraint is defined on a table, this field is left empty as this information is stored in parent_name. However, if constraint is defined on a view, this field stores the table name on which the view is defined.
string table_name = 7;getTableNameBytes in interface ConstraintEntityOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ConstraintEntity parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConstraintEntity parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConstraintEntity parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConstraintEntity parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConstraintEntity parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConstraintEntity parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ConstraintEntity parseFrom(InputStream input) throws IOException
IOExceptionpublic static ConstraintEntity parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConstraintEntity parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ConstraintEntity parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ConstraintEntity parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ConstraintEntity parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ConstraintEntity.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ConstraintEntity.Builder newBuilder()
public static ConstraintEntity.Builder newBuilder(ConstraintEntity prototype)
public ConstraintEntity.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ConstraintEntity.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ConstraintEntity getDefaultInstance()
public static com.google.protobuf.Parser<ConstraintEntity> parser()
public com.google.protobuf.Parser<ConstraintEntity> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ConstraintEntity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.