public static final class Search.IndexSetting.Builder extends com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.Builder<Search.IndexSetting.Builder> implements Search.IndexSettingOrBuilder
com.alicloud.openservices.tablestore.core.protocol.IndexSetting| 限定符和类型 | 方法和说明 |
|---|---|
Search.IndexSetting.Builder |
addAllRoutingFields(Iterable<String> values)
repeated string routing_fields = 2; |
Search.IndexSetting.Builder |
addRoutingFields(String value)
repeated string routing_fields = 2; |
Search.IndexSetting.Builder |
addRoutingFieldsBytes(com.aliyun.ots.thirdparty.com.google.protobuf.ByteString value)
repeated string routing_fields = 2; |
Search.IndexSetting |
build() |
Search.IndexSetting |
buildPartial() |
Search.IndexSetting.Builder |
clear() |
Search.IndexSetting.Builder |
clearNumberOfShards()
optional int32 number_of_shards = 1; |
Search.IndexSetting.Builder |
clearRoutingFields()
repeated string routing_fields = 2; |
Search.IndexSetting.Builder |
clearRoutingPartitionSize()
optional int32 routing_partition_size = 3; |
Search.IndexSetting |
getDefaultInstanceForType() |
static com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getNumberOfShards()
optional int32 number_of_shards = 1; |
String |
getRoutingFields(int index)
repeated string routing_fields = 2; |
com.aliyun.ots.thirdparty.com.google.protobuf.ByteString |
getRoutingFieldsBytes(int index)
repeated string routing_fields = 2; |
int |
getRoutingFieldsCount()
repeated string routing_fields = 2; |
com.aliyun.ots.thirdparty.com.google.protobuf.ProtocolStringList |
getRoutingFieldsList()
repeated string routing_fields = 2; |
int |
getRoutingPartitionSize()
optional int32 routing_partition_size = 3; |
boolean |
hasNumberOfShards()
optional int32 number_of_shards = 1; |
boolean |
hasRoutingPartitionSize()
optional int32 routing_partition_size = 3; |
protected com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Search.IndexSetting.Builder |
mergeFrom(com.aliyun.ots.thirdparty.com.google.protobuf.CodedInputStream input,
com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Search.IndexSetting.Builder |
mergeFrom(com.aliyun.ots.thirdparty.com.google.protobuf.Message other) |
Search.IndexSetting.Builder |
mergeFrom(Search.IndexSetting other) |
Search.IndexSetting.Builder |
setNumberOfShards(int value)
optional int32 number_of_shards = 1; |
Search.IndexSetting.Builder |
setRoutingFields(int index,
String value)
repeated string routing_fields = 2; |
Search.IndexSetting.Builder |
setRoutingPartitionSize(int value)
optional int32 routing_partition_size = 3; |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionpublic static final com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.Builder<Search.IndexSetting.Builder>public Search.IndexSetting.Builder clear()
clear 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Message.Builderclear 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLite.Builderclear 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.Builder<Search.IndexSetting.Builder>public com.aliyun.ots.thirdparty.com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.Builder<Search.IndexSetting.Builder>public Search.IndexSetting getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageOrBuilderpublic Search.IndexSetting build()
build 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Message.Builderbuild 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLite.Builderpublic Search.IndexSetting buildPartial()
buildPartial 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLite.Builderpublic Search.IndexSetting.Builder mergeFrom(com.aliyun.ots.thirdparty.com.google.protobuf.Message other)
mergeFrom 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Message.BuildermergeFrom 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.AbstractMessage.Builder<Search.IndexSetting.Builder>public Search.IndexSetting.Builder mergeFrom(Search.IndexSetting other)
public final boolean isInitialized()
isInitialized 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.GeneratedMessage.Builder<Search.IndexSetting.Builder>public Search.IndexSetting.Builder mergeFrom(com.aliyun.ots.thirdparty.com.google.protobuf.CodedInputStream input, com.aliyun.ots.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.Message.BuildermergeFrom 在接口中 com.aliyun.ots.thirdparty.com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.aliyun.ots.thirdparty.com.google.protobuf.AbstractMessage.Builder<Search.IndexSetting.Builder>IOExceptionpublic boolean hasNumberOfShards()
optional int32 number_of_shards = 1;hasNumberOfShards 在接口中 Search.IndexSettingOrBuilderpublic int getNumberOfShards()
optional int32 number_of_shards = 1;getNumberOfShards 在接口中 Search.IndexSettingOrBuilderpublic Search.IndexSetting.Builder setNumberOfShards(int value)
optional int32 number_of_shards = 1;value - The numberOfShards to set.public Search.IndexSetting.Builder clearNumberOfShards()
optional int32 number_of_shards = 1;public com.aliyun.ots.thirdparty.com.google.protobuf.ProtocolStringList getRoutingFieldsList()
repeated string routing_fields = 2;getRoutingFieldsList 在接口中 Search.IndexSettingOrBuilderpublic int getRoutingFieldsCount()
repeated string routing_fields = 2;getRoutingFieldsCount 在接口中 Search.IndexSettingOrBuilderpublic String getRoutingFields(int index)
repeated string routing_fields = 2;getRoutingFields 在接口中 Search.IndexSettingOrBuilderindex - The index of the element to return.public com.aliyun.ots.thirdparty.com.google.protobuf.ByteString getRoutingFieldsBytes(int index)
repeated string routing_fields = 2;getRoutingFieldsBytes 在接口中 Search.IndexSettingOrBuilderindex - The index of the value to return.public Search.IndexSetting.Builder setRoutingFields(int index, String value)
repeated string routing_fields = 2;index - The index to set the value at.value - The routingFields to set.public Search.IndexSetting.Builder addRoutingFields(String value)
repeated string routing_fields = 2;value - The routingFields to add.public Search.IndexSetting.Builder addAllRoutingFields(Iterable<String> values)
repeated string routing_fields = 2;values - The routingFields to add.public Search.IndexSetting.Builder clearRoutingFields()
repeated string routing_fields = 2;public Search.IndexSetting.Builder addRoutingFieldsBytes(com.aliyun.ots.thirdparty.com.google.protobuf.ByteString value)
repeated string routing_fields = 2;value - The bytes of the routingFields to add.public boolean hasRoutingPartitionSize()
optional int32 routing_partition_size = 3;hasRoutingPartitionSize 在接口中 Search.IndexSettingOrBuilderpublic int getRoutingPartitionSize()
optional int32 routing_partition_size = 3;getRoutingPartitionSize 在接口中 Search.IndexSettingOrBuilderpublic Search.IndexSetting.Builder setRoutingPartitionSize(int value)
optional int32 routing_partition_size = 3;value - The routingPartitionSize to set.public Search.IndexSetting.Builder clearRoutingPartitionSize()
optional int32 routing_partition_size = 3;Copyright © 2025. All Rights Reserved.