Class IndexInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.database.v1.IndexInfo
All Implemented Interfaces:
IndexInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class IndexInfo extends com.google.protobuf.GeneratedMessage implements IndexInfoOrBuilder
 Database index information
 
Protobuf type ai.pipestream.parsed.data.database.v1.IndexInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Database index 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
     

    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
     
    getColumnNames(int index)
    Columns included in index
    com.google.protobuf.ByteString
    Columns included in index
    int
    Columns included in index
    com.google.protobuf.ProtocolStringList
    Columns included in index
    static IndexInfo
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Type of index (BTREE, HASH, etc.)
    com.google.protobuf.ByteString
    Type of index (BTREE, HASH, etc.)
    Index name
    com.google.protobuf.ByteString
    Index name
    com.google.protobuf.Parser<IndexInfo>
     
    boolean
    Whether this is the primary key index
    int
     
    Table this index belongs to
    com.google.protobuf.ByteString
    Table this index belongs to
    boolean
    Whether index enforces uniqueness
    int
     
    boolean
    Type of index (BTREE, HASH, etc.)
    boolean
    Index name
    boolean
    Whether this is the primary key index
    boolean
    Table this index belongs to
    boolean
    Whether index enforces uniqueness
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(IndexInfo prototype)
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static IndexInfo
     
    static IndexInfo
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static IndexInfo
    parseFrom(byte[] data)
     
    static IndexInfo
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static IndexInfo
    parseFrom(com.google.protobuf.ByteString data)
     
    static IndexInfo
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static IndexInfo
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static IndexInfo
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static IndexInfo
     
    static IndexInfo
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static IndexInfo
     
    static IndexInfo
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<IndexInfo>
     
     
    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

  • 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()
       Index name
       
      optional string name = 1 [json_name = "name"];
      Specified by:
      hasName in interface IndexInfoOrBuilder
      Returns:
      Whether the name field is set.
    • getName

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

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

      public boolean hasTableName()
       Table this index belongs to
       
      optional string table_name = 2 [json_name = "tableName"];
      Specified by:
      hasTableName in interface IndexInfoOrBuilder
      Returns:
      Whether the tableName field is set.
    • getTableName

      public String getTableName()
       Table this index belongs to
       
      optional string table_name = 2 [json_name = "tableName"];
      Specified by:
      getTableName in interface IndexInfoOrBuilder
      Returns:
      The tableName.
    • getTableNameBytes

      public com.google.protobuf.ByteString getTableNameBytes()
       Table this index belongs to
       
      optional string table_name = 2 [json_name = "tableName"];
      Specified by:
      getTableNameBytes in interface IndexInfoOrBuilder
      Returns:
      The bytes for tableName.
    • getColumnNamesList

      public com.google.protobuf.ProtocolStringList getColumnNamesList()
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Specified by:
      getColumnNamesList in interface IndexInfoOrBuilder
      Returns:
      A list containing the columnNames.
    • getColumnNamesCount

      public int getColumnNamesCount()
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Specified by:
      getColumnNamesCount in interface IndexInfoOrBuilder
      Returns:
      The count of columnNames.
    • getColumnNames

      public String getColumnNames(int index)
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Specified by:
      getColumnNames in interface IndexInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The columnNames at the given index.
    • getColumnNamesBytes

      public com.google.protobuf.ByteString getColumnNamesBytes(int index)
       Columns included in index
       
      repeated string column_names = 3 [json_name = "columnNames"];
      Specified by:
      getColumnNamesBytes in interface IndexInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the columnNames at the given index.
    • hasUnique

      public boolean hasUnique()
       Whether index enforces uniqueness
       
      optional bool unique = 4 [json_name = "unique"];
      Specified by:
      hasUnique in interface IndexInfoOrBuilder
      Returns:
      Whether the unique field is set.
    • getUnique

      public boolean getUnique()
       Whether index enforces uniqueness
       
      optional bool unique = 4 [json_name = "unique"];
      Specified by:
      getUnique in interface IndexInfoOrBuilder
      Returns:
      The unique.
    • hasPrimary

      public boolean hasPrimary()
       Whether this is the primary key index
       
      optional bool primary = 5 [json_name = "primary"];
      Specified by:
      hasPrimary in interface IndexInfoOrBuilder
      Returns:
      Whether the primary field is set.
    • getPrimary

      public boolean getPrimary()
       Whether this is the primary key index
       
      optional bool primary = 5 [json_name = "primary"];
      Specified by:
      getPrimary in interface IndexInfoOrBuilder
      Returns:
      The primary.
    • hasIndexType

      public boolean hasIndexType()
       Type of index (BTREE, HASH, etc.)
       
      optional string index_type = 6 [json_name = "indexType"];
      Specified by:
      hasIndexType in interface IndexInfoOrBuilder
      Returns:
      Whether the indexType field is set.
    • getIndexType

      public String getIndexType()
       Type of index (BTREE, HASH, etc.)
       
      optional string index_type = 6 [json_name = "indexType"];
      Specified by:
      getIndexType in interface IndexInfoOrBuilder
      Returns:
      The indexType.
    • getIndexTypeBytes

      public com.google.protobuf.ByteString getIndexTypeBytes()
       Type of index (BTREE, HASH, etc.)
       
      optional string index_type = 6 [json_name = "indexType"];
      Specified by:
      getIndexTypeBytes in interface IndexInfoOrBuilder
      Returns:
      The bytes for indexType.
    • 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 IndexInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IndexInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IndexInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IndexInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IndexInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static IndexInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

      public static IndexInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static IndexInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static IndexInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static IndexInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static IndexInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<IndexInfo> 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 IndexInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder