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 information
 
Protobuf type ai.pipestream.parsed.data.database.v1.RelationshipInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Database relationship/foreign key information

    Nested 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.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getFromColumns(int index)
    Source columns
    com.google.protobuf.ByteString
    Source columns
    int
    Source columns
    com.google.protobuf.ProtocolStringList
    Source columns
    Source table
    com.google.protobuf.ByteString
    Source table
    Relationship name
    com.google.protobuf.ByteString
    Relationship name
    Action on delete (CASCADE, RESTRICT, etc.)
    com.google.protobuf.ByteString
    Action on delete (CASCADE, RESTRICT, etc.)
    Action on update (CASCADE, RESTRICT, etc.)
    com.google.protobuf.ByteString
    Action on update (CASCADE, RESTRICT, etc.)
    com.google.protobuf.Parser<RelationshipInfo>
     
    Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
    com.google.protobuf.ByteString
    Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
    int
     
    getToColumns(int index)
    Target columns
    com.google.protobuf.ByteString
    getToColumnsBytes(int index)
    Target columns
    int
    Target columns
    com.google.protobuf.ProtocolStringList
    Target columns
    Target table
    com.google.protobuf.ByteString
    Target table
    boolean
    Source table
    int
     
    boolean
    Relationship name
    boolean
    Action on delete (CASCADE, RESTRICT, etc.)
    boolean
    Action on update (CASCADE, RESTRICT, etc.)
    boolean
    Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
    boolean
    Target table
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<RelationshipInfo>
     
     
    void
    writeTo(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, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasName

      public boolean hasName()
       Relationship name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      hasName in interface RelationshipInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Relationship name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      getName in interface RelationshipInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Relationship name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface RelationshipInfoOrBuilder
      Returns:
      The bytes for name.
    • hasFromTable

      public boolean hasFromTable()
       Source table
       
      optional string from_table = 2 [json_name = "fromTable"];
      Specified by:
      hasFromTable in interface RelationshipInfoOrBuilder
      Returns:
      Whether the fromTable field is set.
    • getFromTable

      public String getFromTable()
       Source table
       
      optional string from_table = 2 [json_name = "fromTable"];
      Specified by:
      getFromTable in interface RelationshipInfoOrBuilder
      Returns:
      The fromTable.
    • getFromTableBytes

      public com.google.protobuf.ByteString getFromTableBytes()
       Source table
       
      optional string from_table = 2 [json_name = "fromTable"];
      Specified by:
      getFromTableBytes in interface RelationshipInfoOrBuilder
      Returns:
      The bytes for fromTable.
    • hasToTable

      public boolean hasToTable()
       Target table
       
      optional string to_table = 3 [json_name = "toTable"];
      Specified by:
      hasToTable in interface RelationshipInfoOrBuilder
      Returns:
      Whether the toTable field is set.
    • getToTable

      public String getToTable()
       Target table
       
      optional string to_table = 3 [json_name = "toTable"];
      Specified by:
      getToTable in interface RelationshipInfoOrBuilder
      Returns:
      The toTable.
    • getToTableBytes

      public com.google.protobuf.ByteString getToTableBytes()
       Target table
       
      optional string to_table = 3 [json_name = "toTable"];
      Specified by:
      getToTableBytes in interface RelationshipInfoOrBuilder
      Returns:
      The bytes for toTable.
    • getFromColumnsList

      public com.google.protobuf.ProtocolStringList getFromColumnsList()
       Source columns
       
      repeated string from_columns = 4 [json_name = "fromColumns"];
      Specified by:
      getFromColumnsList in interface RelationshipInfoOrBuilder
      Returns:
      A list containing the fromColumns.
    • getFromColumnsCount

      public int getFromColumnsCount()
       Source columns
       
      repeated string from_columns = 4 [json_name = "fromColumns"];
      Specified by:
      getFromColumnsCount in interface RelationshipInfoOrBuilder
      Returns:
      The count of fromColumns.
    • getFromColumns

      public String getFromColumns(int index)
       Source columns
       
      repeated string from_columns = 4 [json_name = "fromColumns"];
      Specified by:
      getFromColumns in interface RelationshipInfoOrBuilder
      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:
      getFromColumnsBytes in interface RelationshipInfoOrBuilder
      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:
      getToColumnsList in interface RelationshipInfoOrBuilder
      Returns:
      A list containing the toColumns.
    • getToColumnsCount

      public int getToColumnsCount()
       Target columns
       
      repeated string to_columns = 5 [json_name = "toColumns"];
      Specified by:
      getToColumnsCount in interface RelationshipInfoOrBuilder
      Returns:
      The count of toColumns.
    • getToColumns

      public String getToColumns(int index)
       Target columns
       
      repeated string to_columns = 5 [json_name = "toColumns"];
      Specified by:
      getToColumns in interface RelationshipInfoOrBuilder
      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:
      getToColumnsBytes in interface RelationshipInfoOrBuilder
      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:
      hasRelationshipType in interface RelationshipInfoOrBuilder
      Returns:
      Whether the relationshipType field is set.
    • getRelationshipType

      public String getRelationshipType()
       Type of relationship (ONE_TO_ONE, ONE_TO_MANY, etc.)
       
      optional string relationship_type = 6 [json_name = "relationshipType"];
      Specified by:
      getRelationshipType in interface RelationshipInfoOrBuilder
      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:
      getRelationshipTypeBytes in interface RelationshipInfoOrBuilder
      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:
      hasOnDelete in interface RelationshipInfoOrBuilder
      Returns:
      Whether the onDelete field is set.
    • getOnDelete

      public String getOnDelete()
       Action on delete (CASCADE, RESTRICT, etc.)
       
      optional string on_delete = 7 [json_name = "onDelete"];
      Specified by:
      getOnDelete in interface RelationshipInfoOrBuilder
      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:
      getOnDeleteBytes in interface RelationshipInfoOrBuilder
      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:
      hasOnUpdate in interface RelationshipInfoOrBuilder
      Returns:
      Whether the onUpdate field is set.
    • getOnUpdate

      public String getOnUpdate()
       Action on update (CASCADE, RESTRICT, etc.)
       
      optional string on_update = 8 [json_name = "onUpdate"];
      Specified by:
      getOnUpdate in interface RelationshipInfoOrBuilder
      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:
      getOnUpdateBytes in interface RelationshipInfoOrBuilder
      Returns:
      The bytes for onUpdate.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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

      public static RelationshipInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RelationshipInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RelationshipInfo parseDelimitedFrom(InputStream input) throws IOException
      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

      public RelationshipInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RelationshipInfo.Builder newBuilder()
    • newBuilder

      public static RelationshipInfo.Builder newBuilder(RelationshipInfo prototype)
    • toBuilder

      public RelationshipInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RelationshipInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RelationshipInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RelationshipInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<RelationshipInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RelationshipInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder