Class IndexEntity (2.51.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
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

TABLE_COLUMNS_FIELD_NUMBER

public static final int TABLE_COLUMNS_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

UNIQUE_FIELD_NUMBER

public static final int UNIQUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IndexEntity getDefaultInstance()
Returns
Type Description
IndexEntity

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IndexEntity.Builder newBuilder()
Returns
Type Description
IndexEntity.Builder

newBuilder(IndexEntity prototype)

public static IndexEntity.Builder newBuilder(IndexEntity prototype)
Parameter
Name Description
prototype IndexEntity
Returns
Type Description
IndexEntity.Builder

parseDelimitedFrom(InputStream input)

public static IndexEntity parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IndexEntity
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexEntity
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IndexEntity parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IndexEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IndexEntity parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IndexEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IndexEntity parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IndexEntity
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IndexEntity parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IndexEntity
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexEntity
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IndexEntity parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IndexEntity
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IndexEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IndexEntity
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IndexEntity> parser()
Returns
Type Description
Parser<IndexEntity>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public IndexEntity getDefaultInstanceForType()
Returns
Type Description
IndexEntity

getName()

public String getName()

The name of the index.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the index.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<IndexEntity> getParserForType()
Returns
Type Description
Parser<IndexEntity>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the tableColumns.

getType()

public String getType()

Type of index, for example B-TREE.

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

Type of index, for example B-TREE.

string type = 2;

Returns
Type Description
ByteString

The bytes for type.

getUnique()

public boolean getUnique()

Boolean value indicating whether the index is unique.

bool unique = 4;

Returns
Type Description
boolean

The unique.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 5;

Returns
Type Description
boolean

Whether the customFeatures field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IndexEntity.Builder newBuilderForType()
Returns
Type Description
IndexEntity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IndexEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IndexEntity.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public IndexEntity.Builder toBuilder()
Returns
Type Description
IndexEntity.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException