Package com.google.cloud.clouddms.v1
Class IndexEntity.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
- com.google.cloud.clouddms.v1.IndexEntity.Builder
-
- All Implemented Interfaces:
IndexEntityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IndexEntity
public static final class IndexEntity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder> implements IndexEntityOrBuilder
Index is not used as an independent entity, it is retrieved as part of a Table entity.
Protobuf typegoogle.cloud.clouddms.v1.IndexEntity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexEntity.BuilderaddAllTableColumns(Iterable<String> values)Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.IndexEntity.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IndexEntity.BuilderaddTableColumns(String value)Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.IndexEntity.BuilderaddTableColumnsBytes(com.google.protobuf.ByteString value)Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.IndexEntitybuild()IndexEntitybuildPartial()IndexEntity.Builderclear()IndexEntity.BuilderclearCustomFeatures()Custom engine specific features.IndexEntity.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)IndexEntity.BuilderclearName()The name of the index.IndexEntity.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)IndexEntity.BuilderclearTableColumns()Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.IndexEntity.BuilderclearType()Type of index, for example B-TREE.IndexEntity.BuilderclearUnique()Boolean value indicating whether the index is unique.IndexEntity.Builderclone()com.google.protobuf.StructgetCustomFeatures()Custom engine specific features.com.google.protobuf.Struct.BuildergetCustomFeaturesBuilder()Custom engine specific features.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Custom engine specific features.IndexEntitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetName()The name of the index.com.google.protobuf.ByteStringgetNameBytes()The name of the index.StringgetTableColumns(int index)Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.com.google.protobuf.ByteStringgetTableColumnsBytes(int index)Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.intgetTableColumnsCount()Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.com.google.protobuf.ProtocolStringListgetTableColumnsList()Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.StringgetType()Type of index, for example B-TREE.com.google.protobuf.ByteStringgetTypeBytes()Type of index, for example B-TREE.booleangetUnique()Boolean value indicating whether the index is unique.booleanhasCustomFeatures()Custom engine specific features.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()IndexEntity.BuildermergeCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.IndexEntity.BuildermergeFrom(IndexEntity other)IndexEntity.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)IndexEntity.BuildermergeFrom(com.google.protobuf.Message other)IndexEntity.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)IndexEntity.BuildersetCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.IndexEntity.BuildersetCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)Custom engine specific features.IndexEntity.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)IndexEntity.BuildersetName(String value)The name of the index.IndexEntity.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the index.IndexEntity.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)IndexEntity.BuildersetTableColumns(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.IndexEntity.BuildersetType(String value)Type of index, for example B-TREE.IndexEntity.BuildersetTypeBytes(com.google.protobuf.ByteString value)Type of index, for example B-TREE.IndexEntity.BuildersetUnique(boolean value)Boolean value indicating whether the index is unique.IndexEntity.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
clear
public IndexEntity.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
getDefaultInstanceForType
public IndexEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public IndexEntity build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public IndexEntity buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public IndexEntity.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
setField
public IndexEntity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
clearField
public IndexEntity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
clearOneof
public IndexEntity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
setRepeatedField
public IndexEntity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
addRepeatedField
public IndexEntity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
mergeFrom
public IndexEntity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IndexEntity.Builder>
-
mergeFrom
public IndexEntity.Builder mergeFrom(IndexEntity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
mergeFrom
public IndexEntity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IndexEntity.Builder>- Throws:
IOException
-
getName
public String getName()
The name of the index.
string name = 1;- Specified by:
getNamein interfaceIndexEntityOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the index.
string name = 1;- Specified by:
getNameBytesin interfaceIndexEntityOrBuilder- Returns:
- The bytes for name.
-
setName
public IndexEntity.Builder setName(String value)
The name of the index.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public IndexEntity.Builder clearName()
The name of the index.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public IndexEntity.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the index.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getType
public String getType()
Type of index, for example B-TREE.
string type = 2;- Specified by:
getTypein interfaceIndexEntityOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
Type of index, for example B-TREE.
string type = 2;- Specified by:
getTypeBytesin interfaceIndexEntityOrBuilder- Returns:
- The bytes for type.
-
setType
public IndexEntity.Builder setType(String value)
Type of index, for example B-TREE.
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public IndexEntity.Builder clearType()
Type of index, for example B-TREE.
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
public IndexEntity.Builder setTypeBytes(com.google.protobuf.ByteString value)
Type of index, for example B-TREE.
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getTableColumnsList
public com.google.protobuf.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;- Specified by:
getTableColumnsListin interfaceIndexEntityOrBuilder- Returns:
- A list containing the tableColumns.
-
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;- Specified by:
getTableColumnsCountin interfaceIndexEntityOrBuilder- Returns:
- The count of tableColumns.
-
getTableColumns
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;- Specified by:
getTableColumnsin interfaceIndexEntityOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The tableColumns at the given index.
-
getTableColumnsBytes
public com.google.protobuf.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;- Specified by:
getTableColumnsBytesin interfaceIndexEntityOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tableColumns at the given index.
-
setTableColumns
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:
index- The index to set the value at.value- The tableColumns to set.- Returns:
- This builder for chaining.
-
addTableColumns
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;- Parameters:
value- The tableColumns to add.- Returns:
- This builder for chaining.
-
addAllTableColumns
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;- Parameters:
values- The tableColumns to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addTableColumnsBytes
public IndexEntity.Builder addTableColumnsBytes(com.google.protobuf.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;- Parameters:
value- The bytes of the tableColumns to add.- Returns:
- This builder for chaining.
-
getUnique
public boolean getUnique()
Boolean value indicating whether the index is unique.
bool unique = 4;- Specified by:
getUniquein interfaceIndexEntityOrBuilder- Returns:
- The unique.
-
setUnique
public IndexEntity.Builder setUnique(boolean value)
Boolean value indicating whether the index is unique.
bool unique = 4;- Parameters:
value- The unique to set.- Returns:
- This builder for chaining.
-
clearUnique
public IndexEntity.Builder clearUnique()
Boolean value indicating whether the index is unique.
bool unique = 4;- Returns:
- This builder for chaining.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;- Specified by:
hasCustomFeaturesin interfaceIndexEntityOrBuilder- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
public com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;- Specified by:
getCustomFeaturesin interfaceIndexEntityOrBuilder- Returns:
- The customFeatures.
-
setCustomFeatures
public IndexEntity.Builder setCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
-
setCustomFeatures
public IndexEntity.Builder setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
-
mergeCustomFeatures
public IndexEntity.Builder mergeCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
-
clearCustomFeatures
public IndexEntity.Builder clearCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
-
getCustomFeaturesBuilder
public com.google.protobuf.Struct.Builder getCustomFeaturesBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 5;- Specified by:
getCustomFeaturesOrBuilderin interfaceIndexEntityOrBuilder
-
setUnknownFields
public final IndexEntity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
mergeUnknownFields
public final IndexEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<IndexEntity.Builder>
-
-