类 TaskModelPb.TaskResult
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- cn.feiliu.taskflow.proto.TaskModelPb.TaskResult
-
- 所有已实现的接口:
TaskModelPb.TaskResultOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- 封闭类:
- TaskModelPb
public static final class TaskModelPb.TaskResult extends com.google.protobuf.GeneratedMessageV3 implements TaskModelPb.TaskResultOrBuilder
Protobuf typetaskflow.proto.TaskResult- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classTaskModelPb.TaskResult.BuilderProtobuf typetaskflow.proto.TaskResultstatic classTaskModelPb.TaskResult.StatusProtobuf enumtaskflow.proto.TaskResult.Status-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCALLBACK_AFTER_SECONDS_FIELD_NUMBERstatic intOUTPUT_DATA_FIELD_NUMBERstatic intOUTPUT_MESSAGE_FIELD_NUMBERstatic intREASON_FOR_INCOMPLETION_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBERstatic intTASK_ID_FIELD_NUMBERstatic intWORKER_ID_FIELD_NUMBERstatic intWORKFLOW_INSTANCE_ID_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 booleancontainsOutputData(String key)map<string, .google.protobuf.Value> output_data = 7;booleanequals(Object obj)longgetCallbackAfterSeconds()int64 callback_after_seconds = 4;static TaskModelPb.TaskResultgetDefaultInstance()TaskModelPb.TaskResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Map<String,com.google.protobuf.Value>getOutputData()已过时。intgetOutputDataCount()map<string, .google.protobuf.Value> output_data = 7;Map<String,com.google.protobuf.Value>getOutputDataMap()map<string, .google.protobuf.Value> output_data = 7;com.google.protobuf.ValuegetOutputDataOrDefault(String key, com.google.protobuf.Value defaultValue)map<string, .google.protobuf.Value> output_data = 7;com.google.protobuf.ValuegetOutputDataOrThrow(String key)map<string, .google.protobuf.Value> output_data = 7;com.google.protobuf.AnygetOutputMessage().google.protobuf.Any output_message = 8;com.google.protobuf.AnyOrBuildergetOutputMessageOrBuilder().google.protobuf.Any output_message = 8;com.google.protobuf.Parser<TaskModelPb.TaskResult>getParserForType()StringgetReasonForIncompletion()string reason_for_incompletion = 3;com.google.protobuf.ByteStringgetReasonForIncompletionBytes()string reason_for_incompletion = 3;intgetSerializedSize()TaskModelPb.TaskResult.StatusgetStatus().taskflow.proto.TaskResult.Status status = 6;intgetStatusValue().taskflow.proto.TaskResult.Status status = 6;StringgetTaskId()string task_id = 2;com.google.protobuf.ByteStringgetTaskIdBytes()string task_id = 2;com.google.protobuf.UnknownFieldSetgetUnknownFields()StringgetWorkerId()string worker_id = 5;com.google.protobuf.ByteStringgetWorkerIdBytes()string worker_id = 5;StringgetWorkflowInstanceId()string workflow_instance_id = 1;com.google.protobuf.ByteStringgetWorkflowInstanceIdBytes()string workflow_instance_id = 1;inthashCode()booleanhasOutputMessage().google.protobuf.Any output_message = 8;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static TaskModelPb.TaskResult.BuildernewBuilder()static TaskModelPb.TaskResult.BuildernewBuilder(TaskModelPb.TaskResult prototype)TaskModelPb.TaskResult.BuildernewBuilderForType()protected TaskModelPb.TaskResult.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TaskModelPb.TaskResultparseDelimitedFrom(InputStream input)static TaskModelPb.TaskResultparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskModelPb.TaskResultparseFrom(byte[] data)static TaskModelPb.TaskResultparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskModelPb.TaskResultparseFrom(com.google.protobuf.ByteString data)static TaskModelPb.TaskResultparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskModelPb.TaskResultparseFrom(com.google.protobuf.CodedInputStream input)static TaskModelPb.TaskResultparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskModelPb.TaskResultparseFrom(InputStream input)static TaskModelPb.TaskResultparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TaskModelPb.TaskResultparseFrom(ByteBuffer data)static TaskModelPb.TaskResultparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TaskModelPb.TaskResult>parser()TaskModelPb.TaskResult.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
WORKFLOW_INSTANCE_ID_FIELD_NUMBER
public static final int WORKFLOW_INSTANCE_ID_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
TASK_ID_FIELD_NUMBER
public static final int TASK_ID_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
REASON_FOR_INCOMPLETION_FIELD_NUMBER
public static final int REASON_FOR_INCOMPLETION_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
CALLBACK_AFTER_SECONDS_FIELD_NUMBER
public static final int CALLBACK_AFTER_SECONDS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
WORKER_ID_FIELD_NUMBER
public static final int WORKER_ID_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
OUTPUT_DATA_FIELD_NUMBER
public static final int OUTPUT_DATA_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
OUTPUT_MESSAGE_FIELD_NUMBER
public static final int OUTPUT_MESSAGE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- 覆盖:
internalGetMapField在类中com.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getWorkflowInstanceId
public String getWorkflowInstanceId()
string workflow_instance_id = 1;- 指定者:
getWorkflowInstanceId在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The workflowInstanceId.
-
getWorkflowInstanceIdBytes
public com.google.protobuf.ByteString getWorkflowInstanceIdBytes()
string workflow_instance_id = 1;- 指定者:
getWorkflowInstanceIdBytes在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The bytes for workflowInstanceId.
-
getTaskId
public String getTaskId()
string task_id = 2;- 指定者:
getTaskId在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The taskId.
-
getTaskIdBytes
public com.google.protobuf.ByteString getTaskIdBytes()
string task_id = 2;- 指定者:
getTaskIdBytes在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The bytes for taskId.
-
getReasonForIncompletion
public String getReasonForIncompletion()
string reason_for_incompletion = 3;- 指定者:
getReasonForIncompletion在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The reasonForIncompletion.
-
getReasonForIncompletionBytes
public com.google.protobuf.ByteString getReasonForIncompletionBytes()
string reason_for_incompletion = 3;- 指定者:
getReasonForIncompletionBytes在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The bytes for reasonForIncompletion.
-
getCallbackAfterSeconds
public long getCallbackAfterSeconds()
int64 callback_after_seconds = 4;- 指定者:
getCallbackAfterSeconds在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The callbackAfterSeconds.
-
getWorkerId
public String getWorkerId()
string worker_id = 5;- 指定者:
getWorkerId在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The workerId.
-
getWorkerIdBytes
public com.google.protobuf.ByteString getWorkerIdBytes()
string worker_id = 5;- 指定者:
getWorkerIdBytes在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The bytes for workerId.
-
getStatusValue
public int getStatusValue()
.taskflow.proto.TaskResult.Status status = 6;- 指定者:
getStatusValue在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The enum numeric value on the wire for status.
-
getStatus
public TaskModelPb.TaskResult.Status getStatus()
.taskflow.proto.TaskResult.Status status = 6;- 指定者:
getStatus在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The status.
-
getOutputDataCount
public int getOutputDataCount()
从接口复制的说明:TaskModelPb.TaskResultOrBuildermap<string, .google.protobuf.Value> output_data = 7;
-
containsOutputData
public boolean containsOutputData(String key)
map<string, .google.protobuf.Value> output_data = 7;
-
getOutputData
@Deprecated public Map<String,com.google.protobuf.Value> getOutputData()
已过时。UsegetOutputDataMap()instead.- 指定者:
getOutputData在接口中TaskModelPb.TaskResultOrBuilder
-
getOutputDataMap
public Map<String,com.google.protobuf.Value> getOutputDataMap()
map<string, .google.protobuf.Value> output_data = 7;
-
getOutputDataOrDefault
public com.google.protobuf.Value getOutputDataOrDefault(String key, com.google.protobuf.Value defaultValue)
map<string, .google.protobuf.Value> output_data = 7;
-
getOutputDataOrThrow
public com.google.protobuf.Value getOutputDataOrThrow(String key)
map<string, .google.protobuf.Value> output_data = 7;
-
hasOutputMessage
public boolean hasOutputMessage()
.google.protobuf.Any output_message = 8;- 指定者:
hasOutputMessage在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- Whether the outputMessage field is set.
-
getOutputMessage
public com.google.protobuf.Any getOutputMessage()
.google.protobuf.Any output_message = 8;- 指定者:
getOutputMessage在接口中TaskModelPb.TaskResultOrBuilder- 返回:
- The outputMessage.
-
getOutputMessageOrBuilder
public com.google.protobuf.AnyOrBuilder getOutputMessageOrBuilder()
.google.protobuf.Any output_message = 8;
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static TaskModelPb.TaskResult parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static TaskModelPb.TaskResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static TaskModelPb.TaskResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public TaskModelPb.TaskResult.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static TaskModelPb.TaskResult.Builder newBuilder()
-
newBuilder
public static TaskModelPb.TaskResult.Builder newBuilder(TaskModelPb.TaskResult prototype)
-
toBuilder
public TaskModelPb.TaskResult.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected TaskModelPb.TaskResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TaskModelPb.TaskResult getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TaskModelPb.TaskResult> parser()
-
getParserForType
public com.google.protobuf.Parser<TaskModelPb.TaskResult> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TaskModelPb.TaskResult getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-