Class RelationshipInfo
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.database.v1.RelationshipInfo
- All Implemented Interfaces:
RelationshipInfoOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RelationshipInfo
extends com.google.protobuf.GeneratedMessage
implements RelationshipInfoOrBuilder
Database relationship/foreign key informationProtobuf type
ai.pipestream.parsed.data.database.v1.RelationshipInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDatabase relationship/foreign key informationNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RelationshipInfostatic final com.google.protobuf.Descriptors.DescriptorgetFromColumns(int index) Source columnscom.google.protobuf.ByteStringgetFromColumnsBytes(int index) Source columnsintSource columnscom.google.protobuf.ProtocolStringListSource 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.)com.google.protobuf.Parser<RelationshipInfo> Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)com.google.protobuf.ByteStringType of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)intgetToColumns(int index) Target columnscom.google.protobuf.ByteStringgetToColumnsBytes(int index) Target columnsintTarget columnscom.google.protobuf.ProtocolStringListTarget columnsTarget tablecom.google.protobuf.ByteStringTarget tablebooleanSource tableinthashCode()booleanhasName()Relationship namebooleanAction on delete (CASCADE, RESTRICT, etc.)booleanAction on update (CASCADE, RESTRICT, etc.)booleanType of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)booleanTarget tableprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RelationshipInfo.Builderstatic RelationshipInfo.BuildernewBuilder(RelationshipInfo prototype) protected RelationshipInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RelationshipInfoparseDelimitedFrom(InputStream input) static RelationshipInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelationshipInfoparseFrom(byte[] data) static RelationshipInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelationshipInfoparseFrom(com.google.protobuf.ByteString data) static RelationshipInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelationshipInfoparseFrom(com.google.protobuf.CodedInputStream input) static RelationshipInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelationshipInfoparseFrom(InputStream input) static RelationshipInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelationshipInfoparseFrom(ByteBuffer data) static RelationshipInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RelationshipInfo> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
FROM_TABLE_FIELD_NUMBER
public static final int FROM_TABLE_FIELD_NUMBER- See Also:
-
TO_TABLE_FIELD_NUMBER
public static final int TO_TABLE_FIELD_NUMBER- See Also:
-
FROM_COLUMNS_FIELD_NUMBER
public static final int FROM_COLUMNS_FIELD_NUMBER- See Also:
-
TO_COLUMNS_FIELD_NUMBER
public static final int TO_COLUMNS_FIELD_NUMBER- See Also:
-
RELATIONSHIP_TYPE_FIELD_NUMBER
public static final int RELATIONSHIP_TYPE_FIELD_NUMBER- See Also:
-
ON_DELETE_FIELD_NUMBER
public static final int ON_DELETE_FIELD_NUMBER- See Also:
-
ON_UPDATE_FIELD_NUMBER
public static final int ON_UPDATE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasName
public boolean hasName()Relationship name
optional string name = 1 [json_name = "name"];- Specified by:
hasNamein interfaceRelationshipInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Relationship name
optional string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceRelationshipInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Relationship name
optional string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceRelationshipInfoOrBuilder- Returns:
- The bytes for name.
-
hasFromTable
public boolean hasFromTable()Source table
optional string from_table = 2 [json_name = "fromTable"];- Specified by:
hasFromTablein interfaceRelationshipInfoOrBuilder- Returns:
- Whether the fromTable field is set.
-
getFromTable
Source table
optional string from_table = 2 [json_name = "fromTable"];- Specified by:
getFromTablein interfaceRelationshipInfoOrBuilder- Returns:
- The fromTable.
-
getFromTableBytes
public com.google.protobuf.ByteString getFromTableBytes()Source table
optional string from_table = 2 [json_name = "fromTable"];- Specified by:
getFromTableBytesin interfaceRelationshipInfoOrBuilder- Returns:
- The bytes for fromTable.
-
hasToTable
public boolean hasToTable()Target table
optional string to_table = 3 [json_name = "toTable"];- Specified by:
hasToTablein interfaceRelationshipInfoOrBuilder- Returns:
- Whether the toTable field is set.
-
getToTable
Target table
optional string to_table = 3 [json_name = "toTable"];- Specified by:
getToTablein interfaceRelationshipInfoOrBuilder- Returns:
- The toTable.
-
getToTableBytes
public com.google.protobuf.ByteString getToTableBytes()Target table
optional string to_table = 3 [json_name = "toTable"];- Specified by:
getToTableBytesin interfaceRelationshipInfoOrBuilder- Returns:
- The bytes for toTable.
-
getFromColumnsList
public com.google.protobuf.ProtocolStringList getFromColumnsList()Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Specified by:
getFromColumnsListin interfaceRelationshipInfoOrBuilder- Returns:
- A list containing the fromColumns.
-
getFromColumnsCount
public int getFromColumnsCount()Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Specified by:
getFromColumnsCountin interfaceRelationshipInfoOrBuilder- Returns:
- The count of fromColumns.
-
getFromColumns
Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Specified by:
getFromColumnsin interfaceRelationshipInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The fromColumns at the given index.
-
getFromColumnsBytes
public com.google.protobuf.ByteString getFromColumnsBytes(int index) Source columns
repeated string from_columns = 4 [json_name = "fromColumns"];- Specified by:
getFromColumnsBytesin interfaceRelationshipInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fromColumns at the given index.
-
getToColumnsList
public com.google.protobuf.ProtocolStringList getToColumnsList()Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Specified by:
getToColumnsListin interfaceRelationshipInfoOrBuilder- Returns:
- A list containing the toColumns.
-
getToColumnsCount
public int getToColumnsCount()Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Specified by:
getToColumnsCountin interfaceRelationshipInfoOrBuilder- Returns:
- The count of toColumns.
-
getToColumns
Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Specified by:
getToColumnsin interfaceRelationshipInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The toColumns at the given index.
-
getToColumnsBytes
public com.google.protobuf.ByteString getToColumnsBytes(int index) Target columns
repeated string to_columns = 5 [json_name = "toColumns"];- Specified by:
getToColumnsBytesin interfaceRelationshipInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the toColumns at the given index.
-
hasRelationshipType
public boolean hasRelationshipType()Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
optional string relationship_type = 6 [json_name = "relationshipType"];- Specified by:
hasRelationshipTypein interfaceRelationshipInfoOrBuilder- Returns:
- Whether the relationshipType field is set.
-
getRelationshipType
Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
optional string relationship_type = 6 [json_name = "relationshipType"];- Specified by:
getRelationshipTypein interfaceRelationshipInfoOrBuilder- Returns:
- The relationshipType.
-
getRelationshipTypeBytes
public com.google.protobuf.ByteString getRelationshipTypeBytes()Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
optional string relationship_type = 6 [json_name = "relationshipType"];- Specified by:
getRelationshipTypeBytesin interfaceRelationshipInfoOrBuilder- Returns:
- The bytes for relationshipType.
-
hasOnDelete
public boolean hasOnDelete()Action on delete (CASCADE, RESTRICT, etc.)
optional string on_delete = 7 [json_name = "onDelete"];- Specified by:
hasOnDeletein interfaceRelationshipInfoOrBuilder- Returns:
- Whether the onDelete field is set.
-
getOnDelete
Action on delete (CASCADE, RESTRICT, etc.)
optional string on_delete = 7 [json_name = "onDelete"];- Specified by:
getOnDeletein interfaceRelationshipInfoOrBuilder- Returns:
- The onDelete.
-
getOnDeleteBytes
public com.google.protobuf.ByteString getOnDeleteBytes()Action on delete (CASCADE, RESTRICT, etc.)
optional string on_delete = 7 [json_name = "onDelete"];- Specified by:
getOnDeleteBytesin interfaceRelationshipInfoOrBuilder- Returns:
- The bytes for onDelete.
-
hasOnUpdate
public boolean hasOnUpdate()Action on update (CASCADE, RESTRICT, etc.)
optional string on_update = 8 [json_name = "onUpdate"];- Specified by:
hasOnUpdatein interfaceRelationshipInfoOrBuilder- Returns:
- Whether the onUpdate field is set.
-
getOnUpdate
Action on update (CASCADE, RESTRICT, etc.)
optional string on_update = 8 [json_name = "onUpdate"];- Specified by:
getOnUpdatein interfaceRelationshipInfoOrBuilder- Returns:
- The onUpdate.
-
getOnUpdateBytes
public com.google.protobuf.ByteString getOnUpdateBytes()Action on update (CASCADE, RESTRICT, etc.)
optional string on_update = 8 [json_name = "onUpdate"];- Specified by:
getOnUpdateBytesin interfaceRelationshipInfoOrBuilder- Returns:
- The bytes for onUpdate.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RelationshipInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelationshipInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelationshipInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelationshipInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelationshipInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelationshipInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RelationshipInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RelationshipInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RelationshipInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RelationshipInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RelationshipInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-