public static final class OmniLedgerProto.Instruction extends com.google.protobuf.GeneratedMessageV3 implements OmniLedgerProto.InstructionOrBuilder
Instruction holds only one of Spawn, Invoke, or DeleteProtobuf type
omniledger.Instruction| Modifier and Type | Class and Description |
|---|---|
static class |
OmniLedgerProto.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 |
INSTANCEID_FIELD_NUMBER |
static int |
INVOKE_FIELD_NUMBER |
static int |
LENGTH_FIELD_NUMBER |
static int |
NONCE_FIELD_NUMBER |
static com.google.protobuf.Parser<OmniLedgerProto.Instruction> |
PARSER
Deprecated.
|
static int |
SIGNATURES_FIELD_NUMBER |
static int |
SPAWN_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static OmniLedgerProto.Instruction |
getDefaultInstance() |
OmniLedgerProto.Instruction |
getDefaultInstanceForType() |
OmniLedgerProto.Delete |
getDelete()
Delete removes the given object
|
OmniLedgerProto.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.
|
OmniLedgerProto.InstanceID |
getInstanceid()
InstanceID holds the id of the existing object that can spawn new objects.
|
OmniLedgerProto.InstanceIDOrBuilder |
getInstanceidOrBuilder()
InstanceID holds the id of the existing object that can spawn new objects.
|
OmniLedgerProto.Invoke |
getInvoke()
Invoke calls a method of an existing object
|
OmniLedgerProto.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 instanceID
and used to prevent replay attacks.
|
com.google.protobuf.Parser<OmniLedgerProto.Instruction> |
getParserForType() |
int |
getSerializedSize() |
DarcProto.Signature |
getSignatures(int index)
Signatures that can be verified using the darc defined by the instanceID.
|
int |
getSignaturesCount()
Signatures that can be verified using the darc defined by the instanceID.
|
List<DarcProto.Signature> |
getSignaturesList()
Signatures that can be verified using the darc defined by the instanceID.
|
DarcProto.SignatureOrBuilder |
getSignaturesOrBuilder(int index)
Signatures that can be verified using the darc defined by the instanceID.
|
List<? extends DarcProto.SignatureOrBuilder> |
getSignaturesOrBuilderList()
Signatures that can be verified using the darc defined by the instanceID.
|
OmniLedgerProto.Spawn |
getSpawn()
Spawn creates a new object
|
OmniLedgerProto.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 |
hasInstanceid()
InstanceID holds the id of the existing object that can spawn new objects.
|
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 instanceID
and used to prevent replay attacks.
|
boolean |
hasSpawn()
Spawn creates a new object
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OmniLedgerProto.Instruction.Builder |
newBuilder() |
static OmniLedgerProto.Instruction.Builder |
newBuilder(OmniLedgerProto.Instruction prototype) |
OmniLedgerProto.Instruction.Builder |
newBuilderForType() |
protected OmniLedgerProto.Instruction.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static OmniLedgerProto.Instruction |
parseDelimitedFrom(InputStream input) |
static OmniLedgerProto.Instruction |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.Instruction |
parseFrom(byte[] data) |
static OmniLedgerProto.Instruction |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.Instruction |
parseFrom(ByteBuffer data) |
static OmniLedgerProto.Instruction |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.Instruction |
parseFrom(com.google.protobuf.ByteString data) |
static OmniLedgerProto.Instruction |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.Instruction |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OmniLedgerProto.Instruction |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OmniLedgerProto.Instruction |
parseFrom(InputStream input) |
static OmniLedgerProto.Instruction |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OmniLedgerProto.Instruction> |
parser() |
OmniLedgerProto.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 INSTANCEID_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<OmniLedgerProto.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 hasInstanceid()
InstanceID 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 .omniledger.InstanceID instanceid = 1;hasInstanceid in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.InstanceID getInstanceid()
InstanceID 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 .omniledger.InstanceID instanceid = 1;getInstanceid in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.InstanceIDOrBuilder getInstanceidOrBuilder()
InstanceID 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 .omniledger.InstanceID instanceid = 1;getInstanceidOrBuilder in interface OmniLedgerProto.InstructionOrBuilderpublic boolean hasNonce()
Nonce is monotonically increasing with regard to the darc in the instanceID 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 OmniLedgerProto.InstructionOrBuilderpublic com.google.protobuf.ByteString getNonce()
Nonce is monotonically increasing with regard to the darc in the instanceID 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 OmniLedgerProto.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 OmniLedgerProto.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 OmniLedgerProto.InstructionOrBuilderpublic boolean hasLength()
Length is the total number of instructions in this clientTransaction
required sint32 length = 4;hasLength in interface OmniLedgerProto.InstructionOrBuilderpublic int getLength()
Length is the total number of instructions in this clientTransaction
required sint32 length = 4;getLength in interface OmniLedgerProto.InstructionOrBuilderpublic boolean hasSpawn()
Spawn creates a new object
optional .omniledger.Spawn spawn = 5;hasSpawn in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.Spawn getSpawn()
Spawn creates a new object
optional .omniledger.Spawn spawn = 5;getSpawn in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.SpawnOrBuilder getSpawnOrBuilder()
Spawn creates a new object
optional .omniledger.Spawn spawn = 5;getSpawnOrBuilder in interface OmniLedgerProto.InstructionOrBuilderpublic boolean hasInvoke()
Invoke calls a method of an existing object
optional .omniledger.Invoke invoke = 6;hasInvoke in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.Invoke getInvoke()
Invoke calls a method of an existing object
optional .omniledger.Invoke invoke = 6;getInvoke in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.InvokeOrBuilder getInvokeOrBuilder()
Invoke calls a method of an existing object
optional .omniledger.Invoke invoke = 6;getInvokeOrBuilder in interface OmniLedgerProto.InstructionOrBuilderpublic boolean hasDelete()
Delete removes the given object
optional .omniledger.Delete delete = 7;hasDelete in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.Delete getDelete()
Delete removes the given object
optional .omniledger.Delete delete = 7;getDelete in interface OmniLedgerProto.InstructionOrBuilderpublic OmniLedgerProto.DeleteOrBuilder getDeleteOrBuilder()
Delete removes the given object
optional .omniledger.Delete delete = 7;getDeleteOrBuilder in interface OmniLedgerProto.InstructionOrBuilderpublic List<DarcProto.Signature> getSignaturesList()
Signatures that can be verified using the darc defined by the instanceID.
repeated .darc.Signature signatures = 8;getSignaturesList in interface OmniLedgerProto.InstructionOrBuilderpublic List<? extends DarcProto.SignatureOrBuilder> getSignaturesOrBuilderList()
Signatures that can be verified using the darc defined by the instanceID.
repeated .darc.Signature signatures = 8;getSignaturesOrBuilderList in interface OmniLedgerProto.InstructionOrBuilderpublic int getSignaturesCount()
Signatures that can be verified using the darc defined by the instanceID.
repeated .darc.Signature signatures = 8;getSignaturesCount in interface OmniLedgerProto.InstructionOrBuilderpublic DarcProto.Signature getSignatures(int index)
Signatures that can be verified using the darc defined by the instanceID.
repeated .darc.Signature signatures = 8;getSignatures in interface OmniLedgerProto.InstructionOrBuilderpublic DarcProto.SignatureOrBuilder getSignaturesOrBuilder(int index)
Signatures that can be verified using the darc defined by the instanceID.
repeated .darc.Signature signatures = 8;getSignaturesOrBuilder in interface OmniLedgerProto.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 OmniLedgerProto.Instruction parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.Instruction parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.Instruction parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.Instruction parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.Instruction parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.Instruction parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OmniLedgerProto.Instruction parseFrom(InputStream input) throws IOException
IOExceptionpublic static OmniLedgerProto.Instruction parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OmniLedgerProto.Instruction parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OmniLedgerProto.Instruction parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OmniLedgerProto.Instruction parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OmniLedgerProto.Instruction parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OmniLedgerProto.Instruction.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OmniLedgerProto.Instruction.Builder newBuilder()
public static OmniLedgerProto.Instruction.Builder newBuilder(OmniLedgerProto.Instruction prototype)
public OmniLedgerProto.Instruction.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OmniLedgerProto.Instruction.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OmniLedgerProto.Instruction getDefaultInstance()
public static com.google.protobuf.Parser<OmniLedgerProto.Instruction> parser()
public com.google.protobuf.Parser<OmniLedgerProto.Instruction> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OmniLedgerProto.Instruction getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.