Package io.dingodb.coordinator
Class Coordinator.GetStoreMapRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
io.dingodb.coordinator.Coordinator.GetStoreMapRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Coordinator.GetStoreMapRequestOrBuilder,Cloneable
- Enclosing class:
- Coordinator.GetStoreMapRequest
public static final class Coordinator.GetStoreMapRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
implements Coordinator.GetStoreMapRequestOrBuilder
Protobuf type
dingodb.pb.coordinator.GetStoreMapRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllFilterStoreTypes(Iterable<? extends Common.StoreType> values) if filter_store_types is not empty, only return the store with the store type in filter_store_typesaddAllFilterStoreTypesValue(Iterable<Integer> values) if filter_store_types is not empty, only return the store with the store type in filter_store_typesif filter_store_types is not empty, only return the store with the store type in filter_store_typesaddFilterStoreTypesValue(int value) if filter_store_types is not empty, only return the store with the store type in filter_store_typesaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()int64 epoch = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) if filter_store_types is not empty, only return the store with the store type in filter_store_typesclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .dingodb.pb.common.RequestInfo request_info = 1;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlonggetEpoch()int64 epoch = 2;getFilterStoreTypes(int index) if filter_store_types is not empty, only return the store with the store type in filter_store_typesintif filter_store_types is not empty, only return the store with the store type in filter_store_typesif filter_store_types is not empty, only return the store with the store type in filter_store_typesintgetFilterStoreTypesValue(int index) if filter_store_types is not empty, only return the store with the store type in filter_store_typesif filter_store_types is not empty, only return the store with the store type in filter_store_types.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;boolean.dingodb.pb.common.RequestInfo request_info = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .dingodb.pb.common.RequestInfo request_info = 1;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEpoch(long value) int64 epoch = 2;setFilterStoreTypes(int index, Common.StoreType value) if filter_store_types is not empty, only return the store with the store type in filter_store_typessetFilterStoreTypesValue(int index, int value) if filter_store_types is not empty, only return the store with the store type in filter_store_typessetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestInfo(Common.RequestInfo value) .dingodb.pb.common.RequestInfo request_info = 1;setRequestInfo(Common.RequestInfo.Builder builderForValue) .dingodb.pb.common.RequestInfo request_info = 1;setUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<Coordinator.GetStoreMapRequest.Builder>
-
setField
public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
-
clearField
public Coordinator.GetStoreMapRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
-
clearOneof
public Coordinator.GetStoreMapRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
-
setRepeatedField
public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
-
addRepeatedField
public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Coordinator.GetStoreMapRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
-
mergeFrom
public Coordinator.GetStoreMapRequest.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<Coordinator.GetStoreMapRequest.Builder>- Throws:
IOException
-
hasRequestInfo
public boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
hasRequestInfoin interfaceCoordinator.GetStoreMapRequestOrBuilder- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoin interfaceCoordinator.GetStoreMapRequestOrBuilder- Returns:
- The requestInfo.
-
setRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1; -
setRequestInfo
public Coordinator.GetStoreMapRequest.Builder setRequestInfo(Common.RequestInfo.Builder builderForValue) .dingodb.pb.common.RequestInfo request_info = 1; -
mergeRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1; -
clearRequestInfo
.dingodb.pb.common.RequestInfo request_info = 1; -
getRequestInfoBuilder
.dingodb.pb.common.RequestInfo request_info = 1; -
getRequestInfoOrBuilder
.dingodb.pb.common.RequestInfo request_info = 1;- Specified by:
getRequestInfoOrBuilderin interfaceCoordinator.GetStoreMapRequestOrBuilder
-
getEpoch
public long getEpoch()int64 epoch = 2;- Specified by:
getEpochin interfaceCoordinator.GetStoreMapRequestOrBuilder- Returns:
- The epoch.
-
setEpoch
int64 epoch = 2;- Parameters:
value- The epoch to set.- Returns:
- This builder for chaining.
-
clearEpoch
int64 epoch = 2;- Returns:
- This builder for chaining.
-
getFilterStoreTypesList
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Specified by:
getFilterStoreTypesListin interfaceCoordinator.GetStoreMapRequestOrBuilder- Returns:
- A list containing the filterStoreTypes.
-
getFilterStoreTypesCount
public int getFilterStoreTypesCount()if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Specified by:
getFilterStoreTypesCountin interfaceCoordinator.GetStoreMapRequestOrBuilder- Returns:
- The count of filterStoreTypes.
-
getFilterStoreTypes
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Specified by:
getFilterStoreTypesin interfaceCoordinator.GetStoreMapRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The filterStoreTypes at the given index.
-
setFilterStoreTypes
public Coordinator.GetStoreMapRequest.Builder setFilterStoreTypes(int index, Common.StoreType value) if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Parameters:
index- The index to set the value at.value- The filterStoreTypes to set.- Returns:
- This builder for chaining.
-
addFilterStoreTypes
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Parameters:
value- The filterStoreTypes to add.- Returns:
- This builder for chaining.
-
addAllFilterStoreTypes
public Coordinator.GetStoreMapRequest.Builder addAllFilterStoreTypes(Iterable<? extends Common.StoreType> values) if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Parameters:
values- The filterStoreTypes to add.- Returns:
- This builder for chaining.
-
clearFilterStoreTypes
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Returns:
- This builder for chaining.
-
getFilterStoreTypesValueList
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Specified by:
getFilterStoreTypesValueListin interfaceCoordinator.GetStoreMapRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for filterStoreTypes.
-
getFilterStoreTypesValue
public int getFilterStoreTypesValue(int index) if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Specified by:
getFilterStoreTypesValuein interfaceCoordinator.GetStoreMapRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of filterStoreTypes at the given index.
-
setFilterStoreTypesValue
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for filterStoreTypes to set.- Returns:
- This builder for chaining.
-
addFilterStoreTypesValue
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Parameters:
value- The enum numeric value on the wire for filterStoreTypes to add.- Returns:
- This builder for chaining.
-
addAllFilterStoreTypesValue
if filter_store_types is not empty, only return the store with the store type in filter_store_types
repeated .dingodb.pb.common.StoreType filter_store_types = 3;- Parameters:
values- The enum numeric values on the wire for filterStoreTypes to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Coordinator.GetStoreMapRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
-
mergeUnknownFields
public final Coordinator.GetStoreMapRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.GetStoreMapRequest.Builder>
-