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.Builder
addAllReferenceColumns(Iterable<String> values)
Reference columns which may be associated with the constraint.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.ConstraintEntity.Builder
addReferenceColumns(String value)
Reference columns which may be associated with the constraint.ConstraintEntity.Builder
addReferenceColumnsBytes(com.google.protobuf.ByteString value)
Reference columns which may be associated with the constraint.ConstraintEntity.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.ConstraintEntity
build()
ConstraintEntity
buildPartial()
ConstraintEntity.Builder
clear()
ConstraintEntity.Builder
clearCustomFeatures()
Custom engine specific features.ConstraintEntity.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ConstraintEntity.Builder
clearName()
The name of the table constraint.ConstraintEntity.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ConstraintEntity.Builder
clearReferenceColumns()
Reference columns which may be associated with the constraint.ConstraintEntity.Builder
clearReferenceTable()
Reference table which may be associated with the constraint.ConstraintEntity.Builder
clearTableColumns()
Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.ConstraintEntity.Builder
clearTableName()
Table which is associated with the constraint.ConstraintEntity.Builder
clearType()
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).ConstraintEntity.Builder
clone()
com.google.protobuf.Struct
getCustomFeatures()
Custom engine specific features.com.google.protobuf.Struct.Builder
getCustomFeaturesBuilder()
Custom engine specific features.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Custom engine specific features.ConstraintEntity
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ConstraintEntity.Builder
mergeCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.ConstraintEntity.Builder
mergeFrom(ConstraintEntity other)
ConstraintEntity.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ConstraintEntity.Builder
mergeFrom(com.google.protobuf.Message other)
ConstraintEntity.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ConstraintEntity.Builder
setCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.ConstraintEntity.Builder
setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Custom engine specific features.ConstraintEntity.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ConstraintEntity.Builder
setName(String value)
The name of the table constraint.ConstraintEntity.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the table constraint.ConstraintEntity.Builder
setReferenceColumns(int index, String value)
Reference columns which may be associated with the constraint.ConstraintEntity.Builder
setReferenceTable(String value)
Reference table which may be associated with the constraint.ConstraintEntity.Builder
setReferenceTableBytes(com.google.protobuf.ByteString value)
Reference table which may be associated with the constraint.ConstraintEntity.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.ConstraintEntity.Builder
setTableName(String value)
Table which is associated with the constraint.ConstraintEntity.Builder
setTableNameBytes(com.google.protobuf.ByteString value)
Table which is associated with the constraint.ConstraintEntity.Builder
setType(String value)
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).ConstraintEntity.Builder
setTypeBytes(com.google.protobuf.ByteString value)
Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).ConstraintEntity.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
clear
public ConstraintEntity.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
getDefaultInstanceForType
public ConstraintEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ConstraintEntity build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ConstraintEntity buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ConstraintEntity.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
setField
public ConstraintEntity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
clearField
public ConstraintEntity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
clearOneof
public ConstraintEntity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
setRepeatedField
public ConstraintEntity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
addRepeatedField
public ConstraintEntity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
mergeFrom
public ConstraintEntity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConstraintEntity.Builder>
-
mergeFrom
public ConstraintEntity.Builder mergeFrom(ConstraintEntity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ConstraintEntity.Builder>
- Throws:
IOException
-
getName
public String getName()
The name of the table constraint.
string name = 1;
- Specified by:
getName
in interfaceConstraintEntityOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the table constraint.
string name = 1;
- Specified by:
getNameBytes
in 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:
getType
in 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:
getTypeBytes
in 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:
getTableColumnsList
in 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:
getTableColumnsCount
in 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:
getTableColumns
in 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:
getTableColumnsBytes
in 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:
hasCustomFeatures
in 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:
getCustomFeatures
in 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:
getCustomFeaturesOrBuilder
in 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:
getReferenceColumnsList
in 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:
getReferenceColumnsCount
in 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:
getReferenceColumns
in 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:
getReferenceColumnsBytes
in 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:
getReferenceTable
in 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:
getReferenceTableBytes
in 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:
getTableName
in 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:
getTableNameBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
mergeUnknownFields
public final ConstraintEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ConstraintEntity.Builder>
-
-