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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static IndexEntity.Builder newBuilder()
newBuilder(IndexEntity prototype)
public static IndexEntity.Builder newBuilder(IndexEntity prototype)
public static IndexEntity parseDelimitedFrom(InputStream input)
public static IndexEntity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static IndexEntity parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IndexEntity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static IndexEntity parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IndexEntity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IndexEntity parseFrom(CodedInputStream input)
public static IndexEntity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static IndexEntity parseFrom(InputStream input)
public static IndexEntity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static IndexEntity parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IndexEntity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<IndexEntity> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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;
getDefaultInstanceForType()
public IndexEntity getDefaultInstanceForType()
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()
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;
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public IndexEntity.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IndexEntity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public IndexEntity.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides