Package io.dingodb.coordinator
Class Coordinator.StoreOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.StoreOperation.Builder>
io.dingodb.coordinator.Coordinator.StoreOperation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Coordinator.StoreOperationOrBuilder,Cloneable
- Enclosing class:
- Coordinator.StoreOperation
public static final class Coordinator.StoreOperation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Coordinator.StoreOperation.Builder>
implements Coordinator.StoreOperationOrBuilder
StoreOperationProtobuf type
dingodb.pb.coordinator.StoreOperation-
Method Summary
Modifier and TypeMethodDescriptionaddAllErrors(Iterable<? extends ErrorOuterClass.Error> values) the error of this task, default 5addAllRegionCmds(Iterable<? extends Coordinator.RegionCmd> values) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;addErrors(int index, ErrorOuterClass.Error value) the error of this task, default 5addErrors(int index, ErrorOuterClass.Error.Builder builderForValue) the error of this task, default 5addErrors(ErrorOuterClass.Error value) the error of this task, default 5addErrors(ErrorOuterClass.Error.Builder builderForValue) the error of this task, default 5the error of this task, default 5addErrorsBuilder(int index) the error of this task, default 5addRegionCmds(int index, Coordinator.RegionCmd value) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;addRegionCmds(int index, Coordinator.RegionCmd.Builder builderForValue) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;addRegionCmds(Coordinator.RegionCmd.Builder builderForValue) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;addRegionCmdsBuilder(int index) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()the error of this task, default 5clearField(com.google.protobuf.Descriptors.FieldDescriptor field) operation_success statusclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .dingodb.pb.coordinator.TaskPreCheck pre_check = 3;repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;default 5int64 store_id = 1;clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetErrors(int index) the error of this task, default 5getErrorsBuilder(int index) the error of this task, default 5the error of this task, default 5intthe error of this task, default 5the error of this task, default 5getErrorsOrBuilder(int index) the error of this task, default 5List<? extends ErrorOuterClass.ErrorOrBuilder>the error of this task, default 5booleanoperation_success status.dingodb.pb.coordinator.TaskPreCheck pre_check = 3;.dingodb.pb.coordinator.TaskPreCheck pre_check = 3;.dingodb.pb.coordinator.TaskPreCheck pre_check = 3;getRegionCmds(int index) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;getRegionCmdsBuilder(int index) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;intrepeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;getRegionCmdsOrBuilder(int index) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;List<? extends Coordinator.RegionCmdOrBuilder>repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;intdefault 5longint64 store_id = 1;boolean.dingodb.pb.coordinator.TaskPreCheck pre_check = 3;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.coordinator.TaskPreCheck pre_check = 3;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeErrors(int index) the error of this task, default 5removeRegionCmds(int index) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;setErrors(int index, ErrorOuterClass.Error value) the error of this task, default 5setErrors(int index, ErrorOuterClass.Error.Builder builderForValue) the error of this task, default 5setIsSuccess(boolean value) operation_success status.dingodb.pb.coordinator.TaskPreCheck pre_check = 3;setPreCheck(Coordinator.TaskPreCheck.Builder builderForValue) .dingodb.pb.coordinator.TaskPreCheck pre_check = 3;setRegionCmds(int index, Coordinator.RegionCmd value) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;setRegionCmds(int index, Coordinator.RegionCmd.Builder builderForValue) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRetryCount(int value) default 5setStoreId(long value) int64 store_id = 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.StoreOperation.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.StoreOperation.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.StoreOperation.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.StoreOperation.Builder>
-
setField
public Coordinator.StoreOperation.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.StoreOperation.Builder>
-
clearField
public Coordinator.StoreOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.StoreOperation.Builder>
-
clearOneof
public Coordinator.StoreOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.StoreOperation.Builder>
-
setRepeatedField
public Coordinator.StoreOperation.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.StoreOperation.Builder>
-
addRepeatedField
public Coordinator.StoreOperation.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.StoreOperation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Coordinator.StoreOperation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.StoreOperation.Builder>
-
mergeFrom
public Coordinator.StoreOperation.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.StoreOperation.Builder>- Throws:
IOException
-
getStoreId
public long getStoreId()int64 store_id = 1;- Specified by:
getStoreIdin interfaceCoordinator.StoreOperationOrBuilder- Returns:
- The storeId.
-
setStoreId
int64 store_id = 1;- Parameters:
value- The storeId to set.- Returns:
- This builder for chaining.
-
clearStoreId
int64 store_id = 1;- Returns:
- This builder for chaining.
-
getRegionCmdsList
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;- Specified by:
getRegionCmdsListin interfaceCoordinator.StoreOperationOrBuilder
-
getRegionCmdsCount
public int getRegionCmdsCount()repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;- Specified by:
getRegionCmdsCountin interfaceCoordinator.StoreOperationOrBuilder
-
getRegionCmds
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;- Specified by:
getRegionCmdsin interfaceCoordinator.StoreOperationOrBuilder
-
setRegionCmds
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
setRegionCmds
public Coordinator.StoreOperation.Builder setRegionCmds(int index, Coordinator.RegionCmd.Builder builderForValue) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
addRegionCmds
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
addRegionCmds
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
addRegionCmds
public Coordinator.StoreOperation.Builder addRegionCmds(Coordinator.RegionCmd.Builder builderForValue) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
addRegionCmds
public Coordinator.StoreOperation.Builder addRegionCmds(int index, Coordinator.RegionCmd.Builder builderForValue) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
addAllRegionCmds
public Coordinator.StoreOperation.Builder addAllRegionCmds(Iterable<? extends Coordinator.RegionCmd> values) repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
clearRegionCmds
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
removeRegionCmds
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
getRegionCmdsBuilder
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
getRegionCmdsOrBuilder
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;- Specified by:
getRegionCmdsOrBuilderin interfaceCoordinator.StoreOperationOrBuilder
-
getRegionCmdsOrBuilderList
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2;- Specified by:
getRegionCmdsOrBuilderListin interfaceCoordinator.StoreOperationOrBuilder
-
addRegionCmdsBuilder
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
addRegionCmdsBuilder
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
getRegionCmdsBuilderList
repeated .dingodb.pb.coordinator.RegionCmd region_cmds = 2; -
hasPreCheck
public boolean hasPreCheck().dingodb.pb.coordinator.TaskPreCheck pre_check = 3;- Specified by:
hasPreCheckin interfaceCoordinator.StoreOperationOrBuilder- Returns:
- Whether the preCheck field is set.
-
getPreCheck
.dingodb.pb.coordinator.TaskPreCheck pre_check = 3;- Specified by:
getPreCheckin interfaceCoordinator.StoreOperationOrBuilder- Returns:
- The preCheck.
-
setPreCheck
.dingodb.pb.coordinator.TaskPreCheck pre_check = 3; -
setPreCheck
public Coordinator.StoreOperation.Builder setPreCheck(Coordinator.TaskPreCheck.Builder builderForValue) .dingodb.pb.coordinator.TaskPreCheck pre_check = 3; -
mergePreCheck
.dingodb.pb.coordinator.TaskPreCheck pre_check = 3; -
clearPreCheck
.dingodb.pb.coordinator.TaskPreCheck pre_check = 3; -
getPreCheckBuilder
.dingodb.pb.coordinator.TaskPreCheck pre_check = 3; -
getPreCheckOrBuilder
.dingodb.pb.coordinator.TaskPreCheck pre_check = 3;- Specified by:
getPreCheckOrBuilderin interfaceCoordinator.StoreOperationOrBuilder
-
getRetryCount
public int getRetryCount()default 5
int32 retry_count = 4;- Specified by:
getRetryCountin interfaceCoordinator.StoreOperationOrBuilder- Returns:
- The retryCount.
-
setRetryCount
default 5
int32 retry_count = 4;- Parameters:
value- The retryCount to set.- Returns:
- This builder for chaining.
-
clearRetryCount
default 5
int32 retry_count = 4;- Returns:
- This builder for chaining.
-
getErrorsList
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5;- Specified by:
getErrorsListin interfaceCoordinator.StoreOperationOrBuilder
-
getErrorsCount
public int getErrorsCount()the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5;- Specified by:
getErrorsCountin interfaceCoordinator.StoreOperationOrBuilder
-
getErrors
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5;- Specified by:
getErrorsin interfaceCoordinator.StoreOperationOrBuilder
-
setErrors
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
setErrors
public Coordinator.StoreOperation.Builder setErrors(int index, ErrorOuterClass.Error.Builder builderForValue) the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
addErrors
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
addErrors
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
addErrors
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
addErrors
public Coordinator.StoreOperation.Builder addErrors(int index, ErrorOuterClass.Error.Builder builderForValue) the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
addAllErrors
public Coordinator.StoreOperation.Builder addAllErrors(Iterable<? extends ErrorOuterClass.Error> values) the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
clearErrors
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
removeErrors
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
getErrorsBuilder
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
getErrorsOrBuilder
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5;- Specified by:
getErrorsOrBuilderin interfaceCoordinator.StoreOperationOrBuilder
-
getErrorsOrBuilderList
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5;- Specified by:
getErrorsOrBuilderListin interfaceCoordinator.StoreOperationOrBuilder
-
addErrorsBuilder
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
addErrorsBuilder
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
getErrorsBuilderList
the error of this task, default 5
repeated .dingodb.pb.error.Error errors = 5; -
getIsSuccess
public boolean getIsSuccess()operation_success status
bool is_success = 6;- Specified by:
getIsSuccessin interfaceCoordinator.StoreOperationOrBuilder- Returns:
- The isSuccess.
-
setIsSuccess
operation_success status
bool is_success = 6;- Parameters:
value- The isSuccess to set.- Returns:
- This builder for chaining.
-
clearIsSuccess
operation_success status
bool is_success = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Coordinator.StoreOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.StoreOperation.Builder>
-
mergeUnknownFields
public final Coordinator.StoreOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Coordinator.StoreOperation.Builder>
-