Package com.google.cloud.clouddms.v1
Class ConstraintEntity.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
- com.google.cloud.clouddms.v1.ConstraintEntity.Builder
-
- All Implemented Interfaces:
ConstraintEntityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ConstraintEntity
public static final class ConstraintEntity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder> implements ConstraintEntityOrBuilder
Constraint is not used as an independent entity, it is retrieved as part of another entity such as Table or View.
Protobuf typegoogle.cloud.clouddms.v1.ConstraintEntity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConstraintEntity.BuilderaddAllReferenceColumns(Iterable<String> values)Reference columns which may be associated with the constraint.ConstraintEntity.BuilderaddAllTableColumns(Iterable<String> values)Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.ConstraintEntity.BuilderaddReferenceColumns(String value)Reference columns which may be associated with the constraint.ConstraintEntity.BuilderaddReferenceColumnsBytes(com.google.protobuf.ByteString value)Reference columns which may be associated with the constraint.ConstraintEntity.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConstraintEntity.BuilderaddTableColumns(String value)Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.ConstraintEntity.BuilderaddTableColumnsBytes(com.google.protobuf.ByteString value)Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.ConstraintEntitybuild()ConstraintEntitybuildPartial()ConstraintEntity.Builderclear()ConstraintEntity.BuilderclearCustomFeatures()Custom engine specific features.ConstraintEntity.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ConstraintEntity.BuilderclearName()The name of the table constraint.ConstraintEntity.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ConstraintEntity.BuilderclearReferenceColumns()Reference columns which may be associated with the constraint.ConstraintEntity.BuilderclearReferenceTable()Reference table which may be associated with the constraint.ConstraintEntity.BuilderclearTableColumns()Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.ConstraintEntity.BuilderclearTableName()Table which is associated with the constraint.ConstraintEntity.BuilderclearType()Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).ConstraintEntity.Builderclone()com.google.protobuf.StructgetCustomFeatures()Custom engine specific features.com.google.protobuf.Struct.BuildergetCustomFeaturesBuilder()Custom engine specific features.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Custom engine specific features.ConstraintEntitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The name of the table constraint.com.google.protobuf.ByteStringgetNameBytes()The name of the table constraint.StringgetReferenceColumns(int index)Reference columns which may be associated with the constraint.com.google.protobuf.ByteStringgetReferenceColumnsBytes(int index)Reference columns which may be associated with the constraint.intgetReferenceColumnsCount()Reference columns which may be associated with the constraint.com.google.protobuf.ProtocolStringListgetReferenceColumnsList()Reference columns which may be associated with the constraint.StringgetReferenceTable()Reference table which may be associated with the constraint.com.google.protobuf.ByteStringgetReferenceTableBytes()Reference table which may be associated with the constraint.StringgetTableColumns(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.ByteStringgetTableColumnsBytes(int index)Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.intgetTableColumnsCount()Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.com.google.protobuf.ProtocolStringListgetTableColumnsList()Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.StringgetTableName()Table which is associated with the constraint.com.google.protobuf.ByteStringgetTableNameBytes()Table which is associated with the constraint.StringgetType()Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).com.google.protobuf.ByteStringgetTypeBytes()Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).booleanhasCustomFeatures()Custom engine specific features.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ConstraintEntity.BuildermergeCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.ConstraintEntity.BuildermergeFrom(ConstraintEntity other)ConstraintEntity.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ConstraintEntity.BuildermergeFrom(com.google.protobuf.Message other)ConstraintEntity.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ConstraintEntity.BuildersetCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.ConstraintEntity.BuildersetCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)Custom engine specific features.ConstraintEntity.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ConstraintEntity.BuildersetName(String value)The name of the table constraint.ConstraintEntity.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the table constraint.ConstraintEntity.BuildersetReferenceColumns(int index, String value)Reference columns which may be associated with the constraint.ConstraintEntity.BuildersetReferenceTable(String value)Reference table which may be associated with the constraint.ConstraintEntity.BuildersetReferenceTableBytes(com.google.protobuf.ByteString value)Reference table which may be associated with the constraint.ConstraintEntity.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ConstraintEntity.BuildersetTableColumns(int index, String value)Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.ConstraintEntity.BuildersetTableName(String value)Table which is associated with the constraint.ConstraintEntity.BuildersetTableNameBytes(com.google.protobuf.ByteString value)Table which is associated with the constraint.ConstraintEntity.BuildersetType(String value)Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).ConstraintEntity.BuildersetTypeBytes(com.google.protobuf.ByteString value)Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).ConstraintEntity.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
clear
public ConstraintEntity.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
getDefaultInstanceForType
public ConstraintEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConstraintEntity build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConstraintEntity buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConstraintEntity.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
setField
public ConstraintEntity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
clearField
public ConstraintEntity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
clearOneof
public ConstraintEntity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
setRepeatedField
public ConstraintEntity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
addRepeatedField
public ConstraintEntity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
mergeFrom
public ConstraintEntity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConstraintEntity.Builder>
-
mergeFrom
public ConstraintEntity.Builder mergeFrom(ConstraintEntity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
mergeFrom
public ConstraintEntity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ConstraintEntity.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the table constraint.
string name = 1;- Specified by:
getNamein interfaceConstraintEntityOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the table constraint.
string name = 1;- Specified by:
getNameBytesin interfaceConstraintEntityOrBuilder- Returns:
- The bytes for name.
-
setName
public ConstraintEntity.Builder setName(String value)
The name of the table constraint.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ConstraintEntity.Builder clearName()
The name of the table constraint.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public ConstraintEntity.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the table constraint.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
public String getType()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;- Specified by:
getTypein interfaceConstraintEntityOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;- Specified by:
getTypeBytesin interfaceConstraintEntityOrBuilder- Returns:
- The bytes for type.
-
setType
public ConstraintEntity.Builder setType(String value)
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ConstraintEntity.Builder clearType()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
public ConstraintEntity.Builder setTypeBytes(com.google.protobuf.ByteString value)
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getTableColumnsList
public 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;- Specified by:
getTableColumnsListin interfaceConstraintEntityOrBuilder- Returns:
- A list containing the tableColumns.
-
getTableColumnsCount
public 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;- Specified by:
getTableColumnsCountin interfaceConstraintEntityOrBuilder- Returns:
- The count of tableColumns.
-
getTableColumns
public 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;- Specified by:
getTableColumnsin interfaceConstraintEntityOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tableColumns at the given index.
-
getTableColumnsBytes
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;- Specified by:
getTableColumnsBytesin interfaceConstraintEntityOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tableColumns at the given index.
-
setTableColumns
public ConstraintEntity.Builder setTableColumns(int index, String value)
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;- Parameters:
index- The index to set the value at.value- The tableColumns to set.- Returns:
- This builder for chaining.
-
addTableColumns
public ConstraintEntity.Builder addTableColumns(String value)
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;- Parameters:
value- The tableColumns to add.- Returns:
- This builder for chaining.
-
addAllTableColumns
public ConstraintEntity.Builder addAllTableColumns(Iterable<String> values)
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;- Parameters:
values- The tableColumns to add.- Returns:
- This builder for chaining.
-
clearTableColumns
public ConstraintEntity.Builder clearTableColumns()
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;- Returns:
- This builder for chaining.
-
addTableColumnsBytes
public ConstraintEntity.Builder addTableColumnsBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the tableColumns to add.- Returns:
- This builder for chaining.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;- Specified by:
hasCustomFeaturesin interfaceConstraintEntityOrBuilder- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
public com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;- Specified by:
getCustomFeaturesin interfaceConstraintEntityOrBuilder- Returns:
- The customFeatures.
-
setCustomFeatures
public ConstraintEntity.Builder setCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;
-
setCustomFeatures
public ConstraintEntity.Builder setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;
-
mergeCustomFeatures
public ConstraintEntity.Builder mergeCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;
-
clearCustomFeatures
public ConstraintEntity.Builder clearCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;
-
getCustomFeaturesBuilder
public com.google.protobuf.Struct.Builder getCustomFeaturesBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 4;- Specified by:
getCustomFeaturesOrBuilderin interfaceConstraintEntityOrBuilder
-
getReferenceColumnsList
public 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;- Specified by:
getReferenceColumnsListin interfaceConstraintEntityOrBuilder- Returns:
- A list containing the referenceColumns.
-
getReferenceColumnsCount
public 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;- Specified by:
getReferenceColumnsCountin interfaceConstraintEntityOrBuilder- Returns:
- The count of referenceColumns.
-
getReferenceColumns
public 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;- Specified by:
getReferenceColumnsin interfaceConstraintEntityOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The referenceColumns at the given index.
-
getReferenceColumnsBytes
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;- Specified by:
getReferenceColumnsBytesin interfaceConstraintEntityOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the referenceColumns at the given index.
-
setReferenceColumns
public ConstraintEntity.Builder setReferenceColumns(int index, String value)
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;- Parameters:
index- The index to set the value at.value- The referenceColumns to set.- Returns:
- This builder for chaining.
-
addReferenceColumns
public ConstraintEntity.Builder addReferenceColumns(String value)
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;- Parameters:
value- The referenceColumns to add.- Returns:
- This builder for chaining.
-
addAllReferenceColumns
public ConstraintEntity.Builder addAllReferenceColumns(Iterable<String> values)
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;- Parameters:
values- The referenceColumns to add.- Returns:
- This builder for chaining.
-
clearReferenceColumns
public ConstraintEntity.Builder clearReferenceColumns()
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;- Returns:
- This builder for chaining.
-
addReferenceColumnsBytes
public ConstraintEntity.Builder addReferenceColumnsBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes of the referenceColumns to add.- Returns:
- This builder for chaining.
-
getReferenceTable
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;- Specified by:
getReferenceTablein interfaceConstraintEntityOrBuilder- Returns:
- The referenceTable.
-
getReferenceTableBytes
public 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;- Specified by:
getReferenceTableBytesin interfaceConstraintEntityOrBuilder- Returns:
- The bytes for referenceTable.
-
setReferenceTable
public ConstraintEntity.Builder setReferenceTable(String value)
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;- Parameters:
value- The referenceTable to set.- Returns:
- This builder for chaining.
-
clearReferenceTable
public ConstraintEntity.Builder clearReferenceTable()
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;- Returns:
- This builder for chaining.
-
setReferenceTableBytes
public ConstraintEntity.Builder setReferenceTableBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for referenceTable to set.- Returns:
- This builder for chaining.
-
getTableName
public 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;- Specified by:
getTableNamein interfaceConstraintEntityOrBuilder- Returns:
- The tableName.
-
getTableNameBytes
public 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;- Specified by:
getTableNameBytesin interfaceConstraintEntityOrBuilder- Returns:
- The bytes for tableName.
-
setTableName
public ConstraintEntity.Builder setTableName(String value)
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;- Parameters:
value- The tableName to set.- Returns:
- This builder for chaining.
-
clearTableName
public ConstraintEntity.Builder clearTableName()
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;- Returns:
- This builder for chaining.
-
setTableNameBytes
public ConstraintEntity.Builder setTableNameBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for tableName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ConstraintEntity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
mergeUnknownFields
public final ConstraintEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
-