Package io.dingodb.coordinator
Class Coordinator.Job
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.coordinator.Coordinator.Job
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Coordinator.JobOrBuilder,Serializable
- Enclosing class:
- Coordinator
public static final class Coordinator.Job
extends com.google.protobuf.GeneratedMessageV3
implements Coordinator.JobOrBuilder
Job->Task->StoreOperation->RegionCmdProtobuf type
dingodb.pb.coordinator.Job- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classJob->Task->StoreOperation->RegionCmdNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstring create_time = 10;com.google.protobuf.ByteStringstring create_time = 10;static Coordinator.Jobstatic final com.google.protobuf.Descriptors.Descriptorstring finish_time = 11;com.google.protobuf.ByteStringstring finish_time = 11;longgetId()this is the id of coordinator job listgetName()string name = 2;com.google.protobuf.ByteStringstring name = 2;longthe next index of tasks to executecom.google.protobuf.Parser<Coordinator.Job>intstring status = 13;com.google.protobuf.ByteStringstring status = 13;getTasks(int index) repeated .dingodb.pb.coordinator.Task tasks = 4;intrepeated .dingodb.pb.coordinator.Task tasks = 4;repeated .dingodb.pb.coordinator.Task tasks = 4;getTasksOrBuilder(int index) repeated .dingodb.pb.coordinator.Task tasks = 4;List<? extends Coordinator.TaskOrBuilder>repeated .dingodb.pb.coordinator.Task tasks = 4;string update_time = 12;com.google.protobuf.ByteStringstring update_time = 12;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Coordinator.Job.Builderstatic Coordinator.Job.BuildernewBuilder(Coordinator.Job prototype) protected Coordinator.Job.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Coordinator.JobparseDelimitedFrom(InputStream input) static Coordinator.JobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.JobparseFrom(byte[] data) static Coordinator.JobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.JobparseFrom(com.google.protobuf.ByteString data) static Coordinator.JobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.JobparseFrom(com.google.protobuf.CodedInputStream input) static Coordinator.JobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.JobparseFrom(InputStream input) static Coordinator.JobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Coordinator.JobparseFrom(ByteBuffer data) static Coordinator.JobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Coordinator.Job>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NEXT_STEP_FIELD_NUMBER
public static final int NEXT_STEP_FIELD_NUMBER- See Also:
-
TASKS_FIELD_NUMBER
public static final int TASKS_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
FINISH_TIME_FIELD_NUMBER
public static final int FINISH_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getId
public long getId()this is the id of coordinator job list
int64 id = 1;- Specified by:
getIdin interfaceCoordinator.JobOrBuilder- Returns:
- The id.
-
getName
string name = 2;- Specified by:
getNamein interfaceCoordinator.JobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()string name = 2;- Specified by:
getNameBytesin interfaceCoordinator.JobOrBuilder- Returns:
- The bytes for name.
-
getNextStep
public long getNextStep()the next index of tasks to execute
int64 next_step = 3;- Specified by:
getNextStepin interfaceCoordinator.JobOrBuilder- Returns:
- The nextStep.
-
getTasksList
repeated .dingodb.pb.coordinator.Task tasks = 4;- Specified by:
getTasksListin interfaceCoordinator.JobOrBuilder
-
getTasksOrBuilderList
repeated .dingodb.pb.coordinator.Task tasks = 4;- Specified by:
getTasksOrBuilderListin interfaceCoordinator.JobOrBuilder
-
getTasksCount
public int getTasksCount()repeated .dingodb.pb.coordinator.Task tasks = 4;- Specified by:
getTasksCountin interfaceCoordinator.JobOrBuilder
-
getTasks
repeated .dingodb.pb.coordinator.Task tasks = 4;- Specified by:
getTasksin interfaceCoordinator.JobOrBuilder
-
getTasksOrBuilder
repeated .dingodb.pb.coordinator.Task tasks = 4;- Specified by:
getTasksOrBuilderin interfaceCoordinator.JobOrBuilder
-
getCreateTime
string create_time = 10;- Specified by:
getCreateTimein interfaceCoordinator.JobOrBuilder- Returns:
- The createTime.
-
getCreateTimeBytes
public com.google.protobuf.ByteString getCreateTimeBytes()string create_time = 10;- Specified by:
getCreateTimeBytesin interfaceCoordinator.JobOrBuilder- Returns:
- The bytes for createTime.
-
getFinishTime
string finish_time = 11;- Specified by:
getFinishTimein interfaceCoordinator.JobOrBuilder- Returns:
- The finishTime.
-
getFinishTimeBytes
public com.google.protobuf.ByteString getFinishTimeBytes()string finish_time = 11;- Specified by:
getFinishTimeBytesin interfaceCoordinator.JobOrBuilder- Returns:
- The bytes for finishTime.
-
getUpdateTime
string update_time = 12;- Specified by:
getUpdateTimein interfaceCoordinator.JobOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeBytes
public com.google.protobuf.ByteString getUpdateTimeBytes()string update_time = 12;- Specified by:
getUpdateTimeBytesin interfaceCoordinator.JobOrBuilder- Returns:
- The bytes for updateTime.
-
getStatus
string status = 13;- Specified by:
getStatusin interfaceCoordinator.JobOrBuilder- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()string status = 13;- Specified by:
getStatusBytesin interfaceCoordinator.JobOrBuilder- Returns:
- The bytes for status.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Coordinator.Job parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.Job parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.Job parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.Job parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Coordinator.Job parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Coordinator.Job parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Coordinator.Job parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Coordinator.Job parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Coordinator.Job parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Coordinator.Job.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-