Package io.dingodb.coordinator
Interface Coordinator.UpdateRegionCmdStatusRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Coordinator.UpdateRegionCmdStatusRequest,Coordinator.UpdateRegionCmdStatusRequest.Builder
- Enclosing class:
- Coordinator
public static interface Coordinator.UpdateRegionCmdStatusRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()The error of this region cmdThe error of this region cmdlonggetJobId()the job_id of the region_cmd to updatelongthe region_cmd_id to update.dingodb.pb.common.RequestInfo request_info = 1;.dingodb.pb.common.RequestInfo request_info = 1;If status is STATUS_FAIL, error is requiredintIf status is STATUS_FAIL, error is requiredbooleanhasError()The error of this region cmdboolean.dingodb.pb.common.RequestInfo request_info = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasRequestInfo
boolean hasRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- Whether the requestInfo field is set.
-
getRequestInfo
Common.RequestInfo getRequestInfo().dingodb.pb.common.RequestInfo request_info = 1;- Returns:
- The requestInfo.
-
getRequestInfoOrBuilder
Common.RequestInfoOrBuilder getRequestInfoOrBuilder().dingodb.pb.common.RequestInfo request_info = 1; -
getJobId
long getJobId()the job_id of the region_cmd to update
int64 job_id = 2;- Returns:
- The jobId.
-
getRegionCmdId
long getRegionCmdId()the region_cmd_id to update
int64 region_cmd_id = 3;- Returns:
- The regionCmdId.
-
getStatusValue
int getStatusValue()If status is STATUS_FAIL, error is required
.dingodb.pb.coordinator.RegionCmdStatus status = 4;- Returns:
- The enum numeric value on the wire for status.
-
getStatus
Coordinator.RegionCmdStatus getStatus()If status is STATUS_FAIL, error is required
.dingodb.pb.coordinator.RegionCmdStatus status = 4;- Returns:
- The status.
-
hasError
boolean hasError()The error of this region cmd
.dingodb.pb.error.Error error = 5;- Returns:
- Whether the error field is set.
-
getError
ErrorOuterClass.Error getError()The error of this region cmd
.dingodb.pb.error.Error error = 5;- Returns:
- The error.
-
getErrorOrBuilder
ErrorOuterClass.ErrorOrBuilder getErrorOrBuilder()The error of this region cmd
.dingodb.pb.error.Error error = 5;
-