- 2.52.0 (latest)
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class IndexEntity.Builder extends GeneratedMessageV3.Builder<IndexEntity.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > IndexEntity.BuilderImplements
IndexEntityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllTableColumns(Iterable<String> values)
public IndexEntity.Builder addAllTableColumns(Iterable<String> values)
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 |
values | Iterable<String> The tableColumns to add. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public IndexEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
addTableColumns(String value)
public IndexEntity.Builder addTableColumns(String value)
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 |
value | String The tableColumns to add. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
addTableColumnsBytes(ByteString value)
public IndexEntity.Builder addTableColumnsBytes(ByteString value)
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 |
value | ByteString The bytes of the tableColumns to add. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
build()
public IndexEntity build()
Returns | |
---|---|
Type | Description |
IndexEntity |
buildPartial()
public IndexEntity buildPartial()
Returns | |
---|---|
Type | Description |
IndexEntity |
clear()
public IndexEntity.Builder clear()
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
clearCustomFeatures()
public IndexEntity.Builder clearCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
clearField(Descriptors.FieldDescriptor field)
public IndexEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
clearName()
public IndexEntity.Builder clearName()
The name of the index.
string name = 1;
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public IndexEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
clearTableColumns()
public IndexEntity.Builder clearTableColumns()
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 |
IndexEntity.Builder | This builder for chaining. |
clearType()
public IndexEntity.Builder clearType()
Type of index, for example B-TREE.
string type = 2;
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
clearUnique()
public IndexEntity.Builder clearUnique()
Boolean value indicating whether the index is unique.
bool unique = 4;
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
clone()
public IndexEntity.Builder clone()
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
getCustomFeatures()
public Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
Struct | The customFeatures. |
getCustomFeaturesBuilder()
public Struct.Builder getCustomFeaturesBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Returns | |
---|---|
Type | Description |
Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCustomFeatures(Struct value)
public IndexEntity.Builder mergeCustomFeatures(Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
mergeFrom(IndexEntity other)
public IndexEntity.Builder mergeFrom(IndexEntity other)
Parameter | |
---|---|
Name | Description |
other | IndexEntity |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IndexEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public IndexEntity.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final IndexEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
setCustomFeatures(Struct value)
public IndexEntity.Builder setCustomFeatures(Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Parameter | |
---|---|
Name | Description |
value | Struct |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
setCustomFeatures(Struct.Builder builderForValue)
public IndexEntity.Builder setCustomFeatures(Struct.Builder builderForValue)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public IndexEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
setName(String value)
public IndexEntity.Builder setName(String value)
The name of the index.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public IndexEntity.Builder setNameBytes(ByteString value)
The name of the index.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public IndexEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |
setTableColumns(int index, String value)
public IndexEntity.Builder setTableColumns(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The tableColumns to set. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
setType(String value)
public IndexEntity.Builder setType(String value)
Type of index, for example B-TREE.
string type = 2;
Parameter | |
---|---|
Name | Description |
value | String The type to set. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
setTypeBytes(ByteString value)
public IndexEntity.Builder setTypeBytes(ByteString value)
Type of index, for example B-TREE.
string type = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
setUnique(boolean value)
public IndexEntity.Builder setUnique(boolean value)
Boolean value indicating whether the index is unique.
bool unique = 4;
Parameter | |
---|---|
Name | Description |
value | boolean The unique to set. |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final IndexEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
IndexEntity.Builder |