Interface RelationshipInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RelationshipInfo,RelationshipInfo.Builder
@Generated
public interface RelationshipInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetFromColumns(int index) Source columnscom.google.protobuf.ByteStringgetFromColumnsBytes(int index) Source columnsintSource columnsSource columnsSource tablecom.google.protobuf.ByteStringSource tablegetName()Relationship namecom.google.protobuf.ByteStringRelationship nameAction on delete (CASCADE, RESTRICT, etc.)com.google.protobuf.ByteStringAction on delete (CASCADE, RESTRICT, etc.)Action on update (CASCADE, RESTRICT, etc.)com.google.protobuf.ByteStringAction on update (CASCADE, RESTRICT, etc.)Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)com.google.protobuf.ByteStringType of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)getToColumns(int index) Target columnscom.google.protobuf.ByteStringgetToColumnsBytes(int index) Target columnsintTarget columnsTarget columnsTarget tablecom.google.protobuf.ByteStringTarget tablebooleanSource tablebooleanhasName()Relationship namebooleanAction on delete (CASCADE, RESTRICT, etc.)booleanAction on update (CASCADE, RESTRICT, etc.)booleanType of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)booleanTarget tableMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Relationship name
optional string name = 1 [json_name = "name"];- Returns:
- Whether the name field is set.
-
getName
String getName()Relationship name
optional string name = 1 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Relationship name
optional string name = 1 [json_name = "name"];- Returns:
- The bytes for name.
-
hasFromTable
boolean hasFromTable()Source table
optional string from_table = 2 [json_name = "fromTable"];- Returns:
- Whether the fromTable field is set.
-
getFromTable
String getFromTable()Source table
optional string from_table = 2 [json_name = "fromTable"];- Returns:
- The fromTable.
-
getFromTableBytes
com.google.protobuf.ByteString getFromTableBytes()Source table
optional string from_table = 2 [json_name = "fromTable"];- Returns:
- The bytes for fromTable.
-
hasToTable
boolean hasToTable()Target table
optional string to_table = 3 [json_name = "toTable"];- Returns:
- Whether the toTable field is set.
-
getToTable
String getToTable()Target table
optional string to_table = 3 [json_name = "toTable"];- Returns:
- The toTable.
-
getToTableBytes
com.google.protobuf.ByteString getToTableBytes()Target table
optional string to_table = 3 [json_name = "toTable"];- Returns:
- The bytes for toTable.
-
getFromColumnsList
Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Returns:
- A list containing the fromColumns.
-
getFromColumnsCount
int getFromColumnsCount()Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Returns:
- The count of fromColumns.
-
getFromColumns
Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Parameters:
index- The index of the element to return.- Returns:
- The fromColumns at the given index.
-
getFromColumnsBytes
com.google.protobuf.ByteString getFromColumnsBytes(int index) Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fromColumns at the given index.
-
getToColumnsList
Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Returns:
- A list containing the toColumns.
-
getToColumnsCount
int getToColumnsCount()Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Returns:
- The count of toColumns.
-
getToColumns
Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Parameters:
index- The index of the element to return.- Returns:
- The toColumns at the given index.
-
getToColumnsBytes
com.google.protobuf.ByteString getToColumnsBytes(int index) Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the toColumns at the given index.
-
hasRelationshipType
boolean hasRelationshipType()Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
optional string relationship_type = 6 [json_name = "relationshipType"];- Returns:
- Whether the relationshipType field is set.
-
getRelationshipType
String getRelationshipType()Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
optional string relationship_type = 6 [json_name = "relationshipType"];- Returns:
- The relationshipType.
-
getRelationshipTypeBytes
com.google.protobuf.ByteString getRelationshipTypeBytes()Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
optional string relationship_type = 6 [json_name = "relationshipType"];- Returns:
- The bytes for relationshipType.
-
hasOnDelete
boolean hasOnDelete()Action on delete (CASCADE, RESTRICT, etc.)
optional string on_delete = 7 [json_name = "onDelete"];- Returns:
- Whether the onDelete field is set.
-
getOnDelete
String getOnDelete()Action on delete (CASCADE, RESTRICT, etc.)
optional string on_delete = 7 [json_name = "onDelete"];- Returns:
- The onDelete.
-
getOnDeleteBytes
com.google.protobuf.ByteString getOnDeleteBytes()Action on delete (CASCADE, RESTRICT, etc.)
optional string on_delete = 7 [json_name = "onDelete"];- Returns:
- The bytes for onDelete.
-
hasOnUpdate
boolean hasOnUpdate()Action on update (CASCADE, RESTRICT, etc.)
optional string on_update = 8 [json_name = "onUpdate"];- Returns:
- Whether the onUpdate field is set.
-
getOnUpdate
String getOnUpdate()Action on update (CASCADE, RESTRICT, etc.)
optional string on_update = 8 [json_name = "onUpdate"];- Returns:
- The onUpdate.
-
getOnUpdateBytes
com.google.protobuf.ByteString getOnUpdateBytes()Action on update (CASCADE, RESTRICT, etc.)
optional string on_update = 8 [json_name = "onUpdate"];- Returns:
- The bytes for onUpdate.
-