public static final class ReefServiceProtos.TaskStatusProto extends com.google.protobuf.GeneratedMessage implements ReefServiceProtos.TaskStatusProtoOrBuilder
TaskStatusProto| Modifier and Type | Class and Description |
|---|---|
static class |
ReefServiceProtos.TaskStatusProto.Builder
Protobuf type
TaskStatusProto |
static class |
ReefServiceProtos.TaskStatusProto.TaskMessageProto
Protobuf type
TaskStatusProto.TaskMessageProto |
static interface |
ReefServiceProtos.TaskStatusProto.TaskMessageProtoOrBuilder |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
CONTEXT_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<ReefServiceProtos.TaskStatusProto> |
PARSER |
static int |
RECOVERY_FIELD_NUMBER |
static int |
RESULT_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TASK_ID_FIELD_NUMBER |
static int |
TASK_MESSAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getContextId()
required string context_id = 2; |
com.google.protobuf.ByteString |
getContextIdBytes()
required string context_id = 2; |
static ReefServiceProtos.TaskStatusProto |
getDefaultInstance() |
ReefServiceProtos.TaskStatusProto |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<ReefServiceProtos.TaskStatusProto> |
getParserForType() |
boolean |
getRecovery()
optional bool recovery = 5; |
com.google.protobuf.ByteString |
getResult()
optional bytes result = 4; |
int |
getSerializedSize() |
ReefServiceProtos.State |
getState()
required .State state = 3; |
String |
getTaskId()
required string task_id = 1; |
com.google.protobuf.ByteString |
getTaskIdBytes()
required string task_id = 1; |
ReefServiceProtos.TaskStatusProto.TaskMessageProto |
getTaskMessage(int index)
repeated .TaskStatusProto.TaskMessageProto task_message = 6; |
int |
getTaskMessageCount()
repeated .TaskStatusProto.TaskMessageProto task_message = 6; |
List<ReefServiceProtos.TaskStatusProto.TaskMessageProto> |
getTaskMessageList()
repeated .TaskStatusProto.TaskMessageProto task_message = 6; |
ReefServiceProtos.TaskStatusProto.TaskMessageProtoOrBuilder |
getTaskMessageOrBuilder(int index)
repeated .TaskStatusProto.TaskMessageProto task_message = 6; |
List<? extends ReefServiceProtos.TaskStatusProto.TaskMessageProtoOrBuilder> |
getTaskMessageOrBuilderList()
repeated .TaskStatusProto.TaskMessageProto task_message = 6; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContextId()
required string context_id = 2; |
int |
hashCode() |
boolean |
hasRecovery()
optional bool recovery = 5; |
boolean |
hasResult()
optional bytes result = 4; |
boolean |
hasState()
required .State state = 3; |
boolean |
hasTaskId()
required string task_id = 1; |
boolean |
isInitialized() |
static ReefServiceProtos.TaskStatusProto.Builder |
newBuilder() |
static ReefServiceProtos.TaskStatusProto.Builder |
newBuilder(ReefServiceProtos.TaskStatusProto prototype) |
ReefServiceProtos.TaskStatusProto.Builder |
newBuilderForType() |
static ReefServiceProtos.TaskStatusProto |
parseDelimitedFrom(InputStream input) |
static ReefServiceProtos.TaskStatusProto |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(byte[] data) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(com.google.protobuf.ByteString data) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(InputStream input) |
static ReefServiceProtos.TaskStatusProto |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReefServiceProtos.TaskStatusProto.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionfindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<ReefServiceProtos.TaskStatusProto> PARSER
public static final int TASK_ID_FIELD_NUMBER
public static final int CONTEXT_ID_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
public static final int RECOVERY_FIELD_NUMBER
public static final int TASK_MESSAGE_FIELD_NUMBER
public static ReefServiceProtos.TaskStatusProto getDefaultInstance()
public ReefServiceProtos.TaskStatusProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<ReefServiceProtos.TaskStatusProto> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasTaskId()
required string task_id = 1;hasTaskId in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic String getTaskId()
required string task_id = 1;getTaskId in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic com.google.protobuf.ByteString getTaskIdBytes()
required string task_id = 1;getTaskIdBytes in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic boolean hasContextId()
required string context_id = 2;hasContextId in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic String getContextId()
required string context_id = 2;getContextId in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic com.google.protobuf.ByteString getContextIdBytes()
required string context_id = 2;getContextIdBytes in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic boolean hasState()
required .State state = 3;hasState in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic ReefServiceProtos.State getState()
required .State state = 3;getState in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic boolean hasResult()
optional bytes result = 4;
e.g., return value from Task.call()
hasResult in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic com.google.protobuf.ByteString getResult()
optional bytes result = 4;
e.g., return value from Task.call()
getResult in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic boolean hasRecovery()
optional bool recovery = 5;hasRecovery in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic boolean getRecovery()
optional bool recovery = 5;getRecovery in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic List<ReefServiceProtos.TaskStatusProto.TaskMessageProto> getTaskMessageList()
repeated .TaskStatusProto.TaskMessageProto task_message = 6;getTaskMessageList in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic List<? extends ReefServiceProtos.TaskStatusProto.TaskMessageProtoOrBuilder> getTaskMessageOrBuilderList()
repeated .TaskStatusProto.TaskMessageProto task_message = 6;getTaskMessageOrBuilderList in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic int getTaskMessageCount()
repeated .TaskStatusProto.TaskMessageProto task_message = 6;getTaskMessageCount in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic ReefServiceProtos.TaskStatusProto.TaskMessageProto getTaskMessage(int index)
repeated .TaskStatusProto.TaskMessageProto task_message = 6;getTaskMessage in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic ReefServiceProtos.TaskStatusProto.TaskMessageProtoOrBuilder getTaskMessageOrBuilder(int index)
repeated .TaskStatusProto.TaskMessageProto task_message = 6;getTaskMessageOrBuilder in interface ReefServiceProtos.TaskStatusProtoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReefServiceProtos.TaskStatusProto parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReefServiceProtos.TaskStatusProto parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReefServiceProtos.TaskStatusProto parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReefServiceProtos.TaskStatusProto parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReefServiceProtos.TaskStatusProto parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReefServiceProtos.TaskStatusProto parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReefServiceProtos.TaskStatusProto parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReefServiceProtos.TaskStatusProto parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReefServiceProtos.TaskStatusProto parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReefServiceProtos.TaskStatusProto parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReefServiceProtos.TaskStatusProto.Builder newBuilder()
public ReefServiceProtos.TaskStatusProto.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReefServiceProtos.TaskStatusProto.Builder newBuilder(ReefServiceProtos.TaskStatusProto prototype)
public ReefServiceProtos.TaskStatusProto.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2017 The Apache Software Foundation. All rights reserved.