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 informationProtobuf type
ai.pipestream.parsed.data.database.v1.IndexInfo- See Also:
-
Nested Class Summary
Nested ClassesNested 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 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 TypeMethodDescriptionbooleangetColumnNames(int index) Columns included in indexcom.google.protobuf.ByteStringgetColumnNamesBytes(int index) Columns included in indexintColumns included in indexcom.google.protobuf.ProtocolStringListColumns included in indexstatic IndexInfostatic final com.google.protobuf.Descriptors.DescriptorType of index (BTREE, HASH, etc.)com.google.protobuf.ByteStringType of index (BTREE, HASH, etc.)getName()Index namecom.google.protobuf.ByteStringIndex namecom.google.protobuf.Parser<IndexInfo> booleanWhether this is the primary key indexintTable this index belongs tocom.google.protobuf.ByteStringTable this index belongs tobooleanWhether index enforces uniquenessinthashCode()booleanType of index (BTREE, HASH, etc.)booleanhasName()Index namebooleanWhether this is the primary key indexbooleanTable this index belongs tobooleanWhether index enforces uniquenessprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic IndexInfo.Builderstatic IndexInfo.BuildernewBuilder(IndexInfo prototype) protected IndexInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static IndexInfoparseDelimitedFrom(InputStream input) static IndexInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexInfoparseFrom(byte[] data) static IndexInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexInfoparseFrom(com.google.protobuf.ByteString data) static IndexInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexInfoparseFrom(com.google.protobuf.CodedInputStream input) static IndexInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexInfoparseFrom(InputStream input) static IndexInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static IndexInfoparseFrom(ByteBuffer data) static IndexInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<IndexInfo> 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:
-
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER- See Also:
-
COLUMN_NAMES_FIELD_NUMBER
public static final int COLUMN_NAMES_FIELD_NUMBER- See Also:
-
UNIQUE_FIELD_NUMBER
public static final int UNIQUE_FIELD_NUMBER- See Also:
-
PRIMARY_FIELD_NUMBER
public static final int PRIMARY_FIELD_NUMBER- See Also:
-
INDEX_TYPE_FIELD_NUMBER
public static final int INDEX_TYPE_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()Index name
optional string name = 1 [json_name = "name"];- Specified by:
hasNamein interfaceIndexInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
Index name
optional string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceIndexInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Index name
optional string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceIndexInfoOrBuilder- Returns:
- The bytes for name.
-
hasTableName
public boolean hasTableName()Table this index belongs to
optional string table_name = 2 [json_name = "tableName"];- Specified by:
hasTableNamein interfaceIndexInfoOrBuilder- Returns:
- Whether the tableName field is set.
-
getTableName
Table this index belongs to
optional string table_name = 2 [json_name = "tableName"];- Specified by:
getTableNamein interfaceIndexInfoOrBuilder- 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:
getTableNameBytesin interfaceIndexInfoOrBuilder- 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:
getColumnNamesListin interfaceIndexInfoOrBuilder- Returns:
- A list containing the columnNames.
-
getColumnNamesCount
public int getColumnNamesCount()Columns included in index
repeated string column_names = 3 [json_name = "columnNames"];- Specified by:
getColumnNamesCountin interfaceIndexInfoOrBuilder- Returns:
- The count of columnNames.
-
getColumnNames
Columns included in index
repeated string column_names = 3 [json_name = "columnNames"];- Specified by:
getColumnNamesin interfaceIndexInfoOrBuilder- 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:
getColumnNamesBytesin interfaceIndexInfoOrBuilder- 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:
hasUniquein interfaceIndexInfoOrBuilder- Returns:
- Whether the unique field is set.
-
getUnique
public boolean getUnique()Whether index enforces uniqueness
optional bool unique = 4 [json_name = "unique"];- Specified by:
getUniquein interfaceIndexInfoOrBuilder- Returns:
- The unique.
-
hasPrimary
public boolean hasPrimary()Whether this is the primary key index
optional bool primary = 5 [json_name = "primary"];- Specified by:
hasPrimaryin interfaceIndexInfoOrBuilder- 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:
getPrimaryin interfaceIndexInfoOrBuilder- Returns:
- The primary.
-
hasIndexType
public boolean hasIndexType()Type of index (BTREE, HASH, etc.)
optional string index_type = 6 [json_name = "indexType"];- Specified by:
hasIndexTypein interfaceIndexInfoOrBuilder- Returns:
- Whether the indexType field is set.
-
getIndexType
Type of index (BTREE, HASH, etc.)
optional string index_type = 6 [json_name = "indexType"];- Specified by:
getIndexTypein interfaceIndexInfoOrBuilder- 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:
getIndexTypeBytesin interfaceIndexInfoOrBuilder- Returns:
- The bytes for indexType.
-
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 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
- Throws:
IOException
-
parseFrom
public static IndexInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static IndexInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static IndexInfo 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 IndexInfo.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
-