Class IndexEntity (2.31.0)

public final class IndexEntity extends GeneratedMessageV3 implements IndexEntityOrBuilder

Index is not used as an independent entity, it is retrieved as part of a Table entity.

Protobuf type google.cloud.clouddms.v1.IndexEntity

Static Fields

CUSTOM_FEATURES_FIELD_NUMBER

public static final int CUSTOM_FEATURES_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_COLUMNS_FIELD_NUMBER

public static final int TABLE_COLUMNS_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

UNIQUE_FIELD_NUMBER

public static final int UNIQUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IndexEntity getDefaultInstance()
Returns
TypeDescription
IndexEntity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IndexEntity.Builder newBuilder()
Returns
TypeDescription
IndexEntity.Builder

newBuilder(IndexEntity prototype)

public static IndexEntity.Builder newBuilder(IndexEntity prototype)
Parameter
NameDescription
prototypeIndexEntity
Returns
TypeDescription
IndexEntity.Builder

parseDelimitedFrom(InputStream input)

public static IndexEntity parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IndexEntity parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IndexEntity parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IndexEntity parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IndexEntity parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IndexEntity parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IndexEntity
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IndexEntity> parser()
Returns
TypeDescription
Parser<IndexEntity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public IndexEntity getDefaultInstanceForType()
Returns
TypeDescription
IndexEntity

getName()

public String getName()

The name of the index.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the index.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<IndexEntity> getParserForType()
Returns
TypeDescription
Parser<IndexEntity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTableColumns(int index)

public String getTableColumns(int index)

Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.

repeated string table_columns = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The tableColumns at the given index.

getTableColumnsBytes(int index)

public ByteString getTableColumnsBytes(int index)

Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.

repeated string table_columns = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the tableColumns at the given index.

getTableColumnsCount()

public int getTableColumnsCount()

Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.

repeated string table_columns = 3;

Returns
TypeDescription
int

The count of tableColumns.

getTableColumnsList()

public ProtocolStringList getTableColumnsList()

Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.

repeated string table_columns = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the tableColumns.

getType()

public String getType()

Type of index, for example B-TREE.

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Type of index, for example B-TREE.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.

getUnique()

public boolean getUnique()

Boolean value indicating whether the index is unique.

bool unique = 4;

Returns
TypeDescription
boolean

The unique.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IndexEntity.Builder newBuilderForType()
Returns
TypeDescription
IndexEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IndexEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IndexEntity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IndexEntity.Builder toBuilder()
Returns
TypeDescription
IndexEntity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException