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