public static final class TransactionProto.Instruction extends com.google.protobuf.GeneratedMessageV3 implements TransactionProto.InstructionOrBuilder
Instruction holds only one of Spawn, Invoke, or DeleteProtobuf type
Instruction| Modifier and Type | Class and Description |
|---|---|
static class |
TransactionProto.Instruction.Builder
Instruction holds only one of Spawn, Invoke, or Delete
|
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| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_FIELD_NUMBER |
static int |
INDEX_FIELD_NUMBER |
static int |
INVOKE_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static int |
OBJECTID_FIELD_NUMBER |
static com.google.protobuf.Parser<TransactionProto.Instruction> |
PARSER
Deprecated.
|
static int |
SIGNATURES_FIELD_NUMBER |
static int |
SPAWN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static TransactionProto.Instruction |
getDefaultInstance() |
TransactionProto.Instruction |
getDefaultInstanceForType() |
TransactionProto.Delete |
getDelete()
Delete removes the given object
|
TransactionProto.DeleteOrBuilder |
getDeleteOrBuilder()
Delete removes the given object
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getIndex()
Index and length prevent a leader from censoring specific instructions from
a client and still keep the other instructions valid.
|
TransactionProto.Invoke |
getInvoke()
Invoke calls a method of an existing object
|
TransactionProto.InvokeOrBuilder |
getInvokeOrBuilder()
Invoke calls a method of an existing object
|
int |
getLength()
Length is the total number of instructions in this clientTransaction
|
com.google.protobuf.ByteString |
getNonce()
Nonce is monotonically increasing with regard to the darc in the objectID
and used to prevent replay attacks.
|
TransactionProto.ObjectID |
getObjectid()
ObjectID holds the id of the existing object that can spawn new objects.
|
TransactionProto.ObjectIDOrBuilder |
getObjectidOrBuilder()
ObjectID holds the id of the existing object that can spawn new objects.
|
com.google.protobuf.Parser<TransactionProto.Instruction> |
getParserForType() |
int |
getSerializedSize() |
DarcProto.Signature |
getSignatures(int index)
Signatures that can be verified using the darc defined by the objectID.
|
int |
getSignaturesCount()
Signatures that can be verified using the darc defined by the objectID.
|
List<DarcProto.Signature> |
getSignaturesList()
Signatures that can be verified using the darc defined by the objectID.
|
DarcProto.SignatureOrBuilder |
getSignaturesOrBuilder(int index)
Signatures that can be verified using the darc defined by the objectID.
|
List<? extends DarcProto.SignatureOrBuilder> |
getSignaturesOrBuilderList()
Signatures that can be verified using the darc defined by the objectID.
|
TransactionProto.Spawn |
getSpawn()
Spawn creates a new object
|
TransactionProto.SpawnOrBuilder |
getSpawnOrBuilder()
Spawn creates a new object
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDelete()
Delete removes the given object
|
int |
hashCode() |
boolean |
hasIndex()
Index and length prevent a leader from censoring specific instructions from
a client and still keep the other instructions valid.
|
boolean |
hasInvoke()
Invoke calls a method of an existing object
|
boolean |
hasLength()
Length is the total number of instructions in this clientTransaction
|
boolean |
hasNonce()
Nonce is monotonically increasing with regard to the darc in the objectID
and used to prevent replay attacks.
|
boolean |
hasObjectid()
ObjectID holds the id of the existing object that can spawn new objects.
|
boolean |
hasSpawn()
Spawn creates a new object
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TransactionProto.Instruction.Builder |
newBuilder() |
static TransactionProto.Instruction.Builder |
newBuilder(TransactionProto.Instruction prototype) |
TransactionProto.Instruction.Builder |
newBuilderForType() |
protected TransactionProto.Instruction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static TransactionProto.Instruction |
parseDelimitedFrom(InputStream input) |
static TransactionProto.Instruction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionProto.Instruction |
parseFrom(byte[] data) |
static TransactionProto.Instruction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionProto.Instruction |
parseFrom(ByteBuffer data) |
static TransactionProto.Instruction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionProto.Instruction |
parseFrom(com.google.protobuf.ByteString data) |
static TransactionProto.Instruction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionProto.Instruction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TransactionProto.Instruction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TransactionProto.Instruction |
parseFrom(InputStream input) |
static TransactionProto.Instruction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<TransactionProto.Instruction> |
parser() |
TransactionProto.Instruction.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int OBJECTID_FIELD_NUMBER
public static final int NONCE_FIELD_NUMBER
public static final int INDEX_FIELD_NUMBER
public static final int LENGTH_FIELD_NUMBER
public static final int SPAWN_FIELD_NUMBER
public static final int INVOKE_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
public static final int SIGNATURES_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<TransactionProto.Instruction> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasObjectid()
ObjectID holds the id of the existing object that can spawn new objects.
It is composed of the Darc-ID + a random value generated by omniledger.
required .ObjectID objectid = 1;hasObjectid in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.ObjectID getObjectid()
ObjectID holds the id of the existing object that can spawn new objects.
It is composed of the Darc-ID + a random value generated by omniledger.
required .ObjectID objectid = 1;getObjectid in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.ObjectIDOrBuilder getObjectidOrBuilder()
ObjectID holds the id of the existing object that can spawn new objects.
It is composed of the Darc-ID + a random value generated by omniledger.
required .ObjectID objectid = 1;getObjectidOrBuilder in interface TransactionProto.InstructionOrBuilderpublic boolean hasNonce()
Nonce is monotonically increasing with regard to the darc in the objectID
and used to prevent replay attacks.
The client has to track which is the current nonce of a darc-ID.
required bytes nonce = 2;hasNonce in interface TransactionProto.InstructionOrBuilderpublic com.google.protobuf.ByteString getNonce()
Nonce is monotonically increasing with regard to the darc in the objectID
and used to prevent replay attacks.
The client has to track which is the current nonce of a darc-ID.
required bytes nonce = 2;getNonce in interface TransactionProto.InstructionOrBuilderpublic boolean hasIndex()
Index and length prevent a leader from censoring specific instructions from
a client and still keep the other instructions valid.
Index is relative to the beginning of the clientTransaction.
required sint32 index = 3;hasIndex in interface TransactionProto.InstructionOrBuilderpublic int getIndex()
Index and length prevent a leader from censoring specific instructions from
a client and still keep the other instructions valid.
Index is relative to the beginning of the clientTransaction.
required sint32 index = 3;getIndex in interface TransactionProto.InstructionOrBuilderpublic boolean hasLength()
Length is the total number of instructions in this clientTransaction
required sint32 length = 4;hasLength in interface TransactionProto.InstructionOrBuilderpublic int getLength()
Length is the total number of instructions in this clientTransaction
required sint32 length = 4;getLength in interface TransactionProto.InstructionOrBuilderpublic boolean hasSpawn()
Spawn creates a new object
optional .Spawn spawn = 5;hasSpawn in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.Spawn getSpawn()
Spawn creates a new object
optional .Spawn spawn = 5;getSpawn in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.SpawnOrBuilder getSpawnOrBuilder()
Spawn creates a new object
optional .Spawn spawn = 5;getSpawnOrBuilder in interface TransactionProto.InstructionOrBuilderpublic boolean hasInvoke()
Invoke calls a method of an existing object
optional .Invoke invoke = 6;hasInvoke in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.Invoke getInvoke()
Invoke calls a method of an existing object
optional .Invoke invoke = 6;getInvoke in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.InvokeOrBuilder getInvokeOrBuilder()
Invoke calls a method of an existing object
optional .Invoke invoke = 6;getInvokeOrBuilder in interface TransactionProto.InstructionOrBuilderpublic boolean hasDelete()
Delete removes the given object
optional .Delete delete = 7;hasDelete in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.Delete getDelete()
Delete removes the given object
optional .Delete delete = 7;getDelete in interface TransactionProto.InstructionOrBuilderpublic TransactionProto.DeleteOrBuilder getDeleteOrBuilder()
Delete removes the given object
optional .Delete delete = 7;getDeleteOrBuilder in interface TransactionProto.InstructionOrBuilderpublic List<DarcProto.Signature> getSignaturesList()
Signatures that can be verified using the darc defined by the objectID.
repeated .Signature signatures = 8;getSignaturesList in interface TransactionProto.InstructionOrBuilderpublic List<? extends DarcProto.SignatureOrBuilder> getSignaturesOrBuilderList()
Signatures that can be verified using the darc defined by the objectID.
repeated .Signature signatures = 8;getSignaturesOrBuilderList in interface TransactionProto.InstructionOrBuilderpublic int getSignaturesCount()
Signatures that can be verified using the darc defined by the objectID.
repeated .Signature signatures = 8;getSignaturesCount in interface TransactionProto.InstructionOrBuilderpublic DarcProto.Signature getSignatures(int index)
Signatures that can be verified using the darc defined by the objectID.
repeated .Signature signatures = 8;getSignatures in interface TransactionProto.InstructionOrBuilderpublic DarcProto.SignatureOrBuilder getSignaturesOrBuilder(int index)
Signatures that can be verified using the darc defined by the objectID.
repeated .Signature signatures = 8;getSignaturesOrBuilder in interface TransactionProto.InstructionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public 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 TransactionProto.Instruction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionProto.Instruction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionProto.Instruction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionProto.Instruction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionProto.Instruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionProto.Instruction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static TransactionProto.Instruction parseFrom(InputStream input) throws IOException
IOExceptionpublic static TransactionProto.Instruction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransactionProto.Instruction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static TransactionProto.Instruction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static TransactionProto.Instruction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static TransactionProto.Instruction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic TransactionProto.Instruction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static TransactionProto.Instruction.Builder newBuilder()
public static TransactionProto.Instruction.Builder newBuilder(TransactionProto.Instruction prototype)
public TransactionProto.Instruction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected TransactionProto.Instruction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static TransactionProto.Instruction getDefaultInstance()
public static com.google.protobuf.Parser<TransactionProto.Instruction> parser()
public com.google.protobuf.Parser<TransactionProto.Instruction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public TransactionProto.Instruction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.