public static final class ProcedureProtos.Procedure extends com.google.protobuf.GeneratedMessage implements ProcedureProtos.ProcedureOrBuilder
Procedure
Procedure metadata, serialized by the ProcedureStore to be able to recover the old state.
| Modifier and Type | Class and Description |
|---|---|
static class |
ProcedureProtos.Procedure.Builder
Protobuf type
Procedure |
com.google.protobuf.GeneratedMessage.BuilderParent, 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 |
CLASS_NAME_FIELD_NUMBER |
static int |
EXCEPTION_FIELD_NUMBER |
static int |
LAST_UPDATE_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static int |
NONCE_GROUP_FIELD_NUMBER |
static int |
OWNER_FIELD_NUMBER |
static int |
PARENT_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<ProcedureProtos.Procedure> |
PARSER |
static int |
PROC_ID_FIELD_NUMBER |
static int |
RESULT_FIELD_NUMBER |
static int |
STACK_ID_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATE_DATA_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
TIMEOUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getClassName()
required string class_name = 1; |
com.google.protobuf.ByteString |
getClassNameBytes()
required string class_name = 1; |
static ProcedureProtos.Procedure |
getDefaultInstance() |
ProcedureProtos.Procedure |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ErrorHandlingProtos.ForeignExceptionMessage |
getException()
optional .ForeignExceptionMessage exception = 10; |
ErrorHandlingProtos.ForeignExceptionMessageOrBuilder |
getExceptionOrBuilder()
optional .ForeignExceptionMessage exception = 10; |
long |
getLastUpdate()
required uint64 last_update = 8; |
long |
getNonce()
optional uint64 nonce = 14 [default = 0]; |
long |
getNonceGroup()
optional uint64 nonce_group = 13 [default = 0]; |
String |
getOwner()
optional string owner = 5; |
com.google.protobuf.ByteString |
getOwnerBytes()
optional string owner = 5; |
long |
getParentId()
optional uint64 parent_id = 2; |
com.google.protobuf.Parser<ProcedureProtos.Procedure> |
getParserForType() |
long |
getProcId()
required uint64 proc_id = 3; |
com.google.protobuf.ByteString |
getResult()
optional bytes result = 11; |
int |
getSerializedSize() |
int |
getStackId(int index)
repeated uint32 stack_id = 7; |
int |
getStackIdCount()
repeated uint32 stack_id = 7; |
List<Integer> |
getStackIdList()
repeated uint32 stack_id = 7; |
long |
getStartTime()
required uint64 start_time = 4; |
ProcedureProtos.ProcedureState |
getState()
required .ProcedureState state = 6; |
com.google.protobuf.ByteString |
getStateData()
optional bytes state_data = 12; |
int |
getTimeout()
optional uint32 timeout = 9; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasClassName()
required string class_name = 1; |
boolean |
hasException()
optional .ForeignExceptionMessage exception = 10; |
int |
hashCode() |
boolean |
hasLastUpdate()
required uint64 last_update = 8; |
boolean |
hasNonce()
optional uint64 nonce = 14 [default = 0]; |
boolean |
hasNonceGroup()
optional uint64 nonce_group = 13 [default = 0]; |
boolean |
hasOwner()
optional string owner = 5; |
boolean |
hasParentId()
optional uint64 parent_id = 2; |
boolean |
hasProcId()
required uint64 proc_id = 3; |
boolean |
hasResult()
optional bytes result = 11; |
boolean |
hasStartTime()
required uint64 start_time = 4; |
boolean |
hasState()
required .ProcedureState state = 6; |
boolean |
hasStateData()
optional bytes state_data = 12; |
boolean |
hasTimeout()
optional uint32 timeout = 9; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ProcedureProtos.Procedure.Builder |
newBuilder() |
static ProcedureProtos.Procedure.Builder |
newBuilder(ProcedureProtos.Procedure prototype) |
ProcedureProtos.Procedure.Builder |
newBuilderForType() |
protected ProcedureProtos.Procedure.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static ProcedureProtos.Procedure |
parseDelimitedFrom(InputStream input) |
static ProcedureProtos.Procedure |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcedureProtos.Procedure |
parseFrom(byte[] data) |
static ProcedureProtos.Procedure |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcedureProtos.Procedure |
parseFrom(com.google.protobuf.ByteString data) |
static ProcedureProtos.Procedure |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcedureProtos.Procedure |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ProcedureProtos.Procedure |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ProcedureProtos.Procedure |
parseFrom(InputStream input) |
static ProcedureProtos.Procedure |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ProcedureProtos.Procedure.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<ProcedureProtos.Procedure> PARSER
public static final int CLASS_NAME_FIELD_NUMBER
public static final int PARENT_ID_FIELD_NUMBER
public static final int PROC_ID_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int OWNER_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int STACK_ID_FIELD_NUMBER
public static final int LAST_UPDATE_FIELD_NUMBER
public static final int TIMEOUT_FIELD_NUMBER
public static final int EXCEPTION_FIELD_NUMBER
public static final int RESULT_FIELD_NUMBER
public static final int STATE_DATA_FIELD_NUMBER
public static final int NONCE_GROUP_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
public static ProcedureProtos.Procedure getDefaultInstance()
public ProcedureProtos.Procedure 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()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<ProcedureProtos.Procedure> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasClassName()
required string class_name = 1;
internal "static" state
hasClassName in interface ProcedureProtos.ProcedureOrBuilderpublic String getClassName()
required string class_name = 1;
internal "static" state
getClassName in interface ProcedureProtos.ProcedureOrBuilderpublic com.google.protobuf.ByteString getClassNameBytes()
required string class_name = 1;
internal "static" state
getClassNameBytes in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasParentId()
optional uint64 parent_id = 2;
parent if not a root-procedure otherwise not set
hasParentId in interface ProcedureProtos.ProcedureOrBuilderpublic long getParentId()
optional uint64 parent_id = 2;
parent if not a root-procedure otherwise not set
getParentId in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasProcId()
required uint64 proc_id = 3;hasProcId in interface ProcedureProtos.ProcedureOrBuilderpublic long getProcId()
required uint64 proc_id = 3;getProcId in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasStartTime()
required uint64 start_time = 4;hasStartTime in interface ProcedureProtos.ProcedureOrBuilderpublic long getStartTime()
required uint64 start_time = 4;getStartTime in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasOwner()
optional string owner = 5;hasOwner in interface ProcedureProtos.ProcedureOrBuilderpublic String getOwner()
optional string owner = 5;getOwner in interface ProcedureProtos.ProcedureOrBuilderpublic com.google.protobuf.ByteString getOwnerBytes()
optional string owner = 5;getOwnerBytes in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasState()
required .ProcedureState state = 6;
internal "runtime" state
hasState in interface ProcedureProtos.ProcedureOrBuilderpublic ProcedureProtos.ProcedureState getState()
required .ProcedureState state = 6;
internal "runtime" state
getState in interface ProcedureProtos.ProcedureOrBuilderpublic List<Integer> getStackIdList()
repeated uint32 stack_id = 7;
stack indices in case the procedure was running
getStackIdList in interface ProcedureProtos.ProcedureOrBuilderpublic int getStackIdCount()
repeated uint32 stack_id = 7;
stack indices in case the procedure was running
getStackIdCount in interface ProcedureProtos.ProcedureOrBuilderpublic int getStackId(int index)
repeated uint32 stack_id = 7;
stack indices in case the procedure was running
getStackId in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasLastUpdate()
required uint64 last_update = 8;hasLastUpdate in interface ProcedureProtos.ProcedureOrBuilderpublic long getLastUpdate()
required uint64 last_update = 8;getLastUpdate in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasTimeout()
optional uint32 timeout = 9;hasTimeout in interface ProcedureProtos.ProcedureOrBuilderpublic int getTimeout()
optional uint32 timeout = 9;getTimeout in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasException()
optional .ForeignExceptionMessage exception = 10;
user state/results
hasException in interface ProcedureProtos.ProcedureOrBuilderpublic ErrorHandlingProtos.ForeignExceptionMessage getException()
optional .ForeignExceptionMessage exception = 10;
user state/results
getException in interface ProcedureProtos.ProcedureOrBuilderpublic ErrorHandlingProtos.ForeignExceptionMessageOrBuilder getExceptionOrBuilder()
optional .ForeignExceptionMessage exception = 10;
user state/results
getExceptionOrBuilder in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasResult()
optional bytes result = 11;
opaque (user) result structure
hasResult in interface ProcedureProtos.ProcedureOrBuilderpublic com.google.protobuf.ByteString getResult()
optional bytes result = 11;
opaque (user) result structure
getResult in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasStateData()
optional bytes state_data = 12;
opaque (user) procedure internal-state
hasStateData in interface ProcedureProtos.ProcedureOrBuilderpublic com.google.protobuf.ByteString getStateData()
optional bytes state_data = 12;
opaque (user) procedure internal-state
getStateData in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasNonceGroup()
optional uint64 nonce_group = 13 [default = 0];
Nonce to prevent same procedure submit by multiple times
hasNonceGroup in interface ProcedureProtos.ProcedureOrBuilderpublic long getNonceGroup()
optional uint64 nonce_group = 13 [default = 0];
Nonce to prevent same procedure submit by multiple times
getNonceGroup in interface ProcedureProtos.ProcedureOrBuilderpublic boolean hasNonce()
optional uint64 nonce = 14 [default = 0];hasNonce in interface ProcedureProtos.ProcedureOrBuilderpublic long getNonce()
optional uint64 nonce = 14 [default = 0];getNonce in interface ProcedureProtos.ProcedureOrBuilderpublic 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.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic 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 ProcedureProtos.Procedure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcedureProtos.Procedure parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcedureProtos.Procedure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcedureProtos.Procedure parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ProcedureProtos.Procedure parseFrom(InputStream input) throws IOException
IOExceptionpublic static ProcedureProtos.Procedure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcedureProtos.Procedure parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ProcedureProtos.Procedure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcedureProtos.Procedure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ProcedureProtos.Procedure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ProcedureProtos.Procedure.Builder newBuilder()
public ProcedureProtos.Procedure.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ProcedureProtos.Procedure.Builder newBuilder(ProcedureProtos.Procedure prototype)
public ProcedureProtos.Procedure.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ProcedureProtos.Procedure.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.