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, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<ProcedureProtos.Procedure> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasClassName()
required string class_name = 1;
internal "static" state
hasClassName
in interface ProcedureProtos.ProcedureOrBuilder
public String getClassName()
required string class_name = 1;
internal "static" state
getClassName
in interface ProcedureProtos.ProcedureOrBuilder
public com.google.protobuf.ByteString getClassNameBytes()
required string class_name = 1;
internal "static" state
getClassNameBytes
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasParentId()
optional uint64 parent_id = 2;
parent if not a root-procedure otherwise not set
hasParentId
in interface ProcedureProtos.ProcedureOrBuilder
public long getParentId()
optional uint64 parent_id = 2;
parent if not a root-procedure otherwise not set
getParentId
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasProcId()
required uint64 proc_id = 3;
hasProcId
in interface ProcedureProtos.ProcedureOrBuilder
public long getProcId()
required uint64 proc_id = 3;
getProcId
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasStartTime()
required uint64 start_time = 4;
hasStartTime
in interface ProcedureProtos.ProcedureOrBuilder
public long getStartTime()
required uint64 start_time = 4;
getStartTime
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasOwner()
optional string owner = 5;
hasOwner
in interface ProcedureProtos.ProcedureOrBuilder
public String getOwner()
optional string owner = 5;
getOwner
in interface ProcedureProtos.ProcedureOrBuilder
public com.google.protobuf.ByteString getOwnerBytes()
optional string owner = 5;
getOwnerBytes
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasState()
required .ProcedureState state = 6;
internal "runtime" state
hasState
in interface ProcedureProtos.ProcedureOrBuilder
public ProcedureProtos.ProcedureState getState()
required .ProcedureState state = 6;
internal "runtime" state
getState
in interface ProcedureProtos.ProcedureOrBuilder
public List<Integer> getStackIdList()
repeated uint32 stack_id = 7;
stack indices in case the procedure was running
getStackIdList
in interface ProcedureProtos.ProcedureOrBuilder
public int getStackIdCount()
repeated uint32 stack_id = 7;
stack indices in case the procedure was running
getStackIdCount
in interface ProcedureProtos.ProcedureOrBuilder
public int getStackId(int index)
repeated uint32 stack_id = 7;
stack indices in case the procedure was running
getStackId
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasLastUpdate()
required uint64 last_update = 8;
hasLastUpdate
in interface ProcedureProtos.ProcedureOrBuilder
public long getLastUpdate()
required uint64 last_update = 8;
getLastUpdate
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasTimeout()
optional uint32 timeout = 9;
hasTimeout
in interface ProcedureProtos.ProcedureOrBuilder
public int getTimeout()
optional uint32 timeout = 9;
getTimeout
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasException()
optional .ForeignExceptionMessage exception = 10;
user state/results
hasException
in interface ProcedureProtos.ProcedureOrBuilder
public ErrorHandlingProtos.ForeignExceptionMessage getException()
optional .ForeignExceptionMessage exception = 10;
user state/results
getException
in interface ProcedureProtos.ProcedureOrBuilder
public ErrorHandlingProtos.ForeignExceptionMessageOrBuilder getExceptionOrBuilder()
optional .ForeignExceptionMessage exception = 10;
user state/results
getExceptionOrBuilder
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasResult()
optional bytes result = 11;
opaque (user) result structure
hasResult
in interface ProcedureProtos.ProcedureOrBuilder
public com.google.protobuf.ByteString getResult()
optional bytes result = 11;
opaque (user) result structure
getResult
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasStateData()
optional bytes state_data = 12;
opaque (user) procedure internal-state
hasStateData
in interface ProcedureProtos.ProcedureOrBuilder
public com.google.protobuf.ByteString getStateData()
optional bytes state_data = 12;
opaque (user) procedure internal-state
getStateData
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasNonceGroup()
optional uint64 nonce_group = 13 [default = 0];
Nonce to prevent same procedure submit by multiple times
hasNonceGroup
in interface ProcedureProtos.ProcedureOrBuilder
public long getNonceGroup()
optional uint64 nonce_group = 13 [default = 0];
Nonce to prevent same procedure submit by multiple times
getNonceGroup
in interface ProcedureProtos.ProcedureOrBuilder
public boolean hasNonce()
optional uint64 nonce = 14 [default = 0];
hasNonce
in interface ProcedureProtos.ProcedureOrBuilder
public long getNonce()
optional uint64 nonce = 14 [default = 0];
getNonce
in interface ProcedureProtos.ProcedureOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static ProcedureProtos.Procedure parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProcedureProtos.Procedure parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProcedureProtos.Procedure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProcedureProtos.Procedure parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ProcedureProtos.Procedure parseFrom(InputStream input) throws IOException
IOException
public static ProcedureProtos.Procedure parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProcedureProtos.Procedure parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ProcedureProtos.Procedure parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProcedureProtos.Procedure parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ProcedureProtos.Procedure parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ProcedureProtos.Procedure.Builder newBuilder()
public ProcedureProtos.Procedure.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ProcedureProtos.Procedure.Builder newBuilder(ProcedureProtos.Procedure prototype)
public ProcedureProtos.Procedure.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected ProcedureProtos.Procedure.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.