public interface ConstraintEntityOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Struct |
getCustomFeatures()
Custom engine specific features.
|
com.google.protobuf.StructOrBuilder |
getCustomFeaturesOrBuilder()
Custom engine specific features.
|
String |
getName()
The name of the table constraint.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the table constraint.
|
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.
|
List<String> |
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.
|
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.
|
List<String> |
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The name of the table constraint.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The name of the table constraint.
string name = 1;String getType()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;com.google.protobuf.ByteString getTypeBytes()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;List<String> 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;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;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;index - The index of the element to return.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;index - The index of the value to return.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;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;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;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;Copyright © 2024 Google LLC. All rights reserved.