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 |
INSTANCEID_FIELD_NUMBER |
static int |
INVOKE_FIELD_NUMBER |
static com.google.protobuf.Parser<ByzCoinProto.Instruction> |
PARSER
Deprecated.
|
static int |
SIGNATURES_FIELD_NUMBER |
static int |
SIGNERCOUNTER_FIELD_NUMBER |
static int |
SIGNERIDENTITIES_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() |
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.
|
com.google.protobuf.Parser<ByzCoinProto.Instruction> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
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<com.google.protobuf.ByteString> |
getSignaturesList()
Signatures that are verified using the Darc controlling access to
the instance.
|
long |
getSignercounter(int index)
SignerCounter must be set to a value that is one greater than what
was in the last instruction signed by the same signer.
|
int |
getSignercounterCount()
SignerCounter must be set to a value that is one greater than what
was in the last instruction signed by the same signer.
|
List<Long> |
getSignercounterList()
SignerCounter must be set to a value that is one greater than what
was in the last instruction signed by the same signer.
|
DarcProto.Identity |
getSigneridentities(int index)
SignerIdentities are the identities of all the signers.
|
int |
getSigneridentitiesCount()
SignerIdentities are the identities of all the signers.
|
List<DarcProto.Identity> |
getSigneridentitiesList()
SignerIdentities are the identities of all the signers.
|
DarcProto.IdentityOrBuilder |
getSigneridentitiesOrBuilder(int index)
SignerIdentities are the identities of all the signers.
|
List<? extends DarcProto.IdentityOrBuilder> |
getSigneridentitiesOrBuilderList()
SignerIdentities are the identities of all the signers.
|
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 |
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 |
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 SPAWN_FIELD_NUMBER
public static final int INVOKE_FIELD_NUMBER
public static final int DELETE_FIELD_NUMBER
public static final int SIGNERCOUNTER_FIELD_NUMBER
public static final int SIGNERIDENTITIES_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 hasSpawn()
Spawn creates a new instance.
optional .byzcoin.Spawn spawn = 2;hasSpawn in interface ByzCoinProto.InstructionOrBuilderpublic ByzCoinProto.Spawn getSpawn()
Spawn creates a new instance.
optional .byzcoin.Spawn spawn = 2;getSpawn in interface ByzCoinProto.InstructionOrBuilderpublic ByzCoinProto.SpawnOrBuilder getSpawnOrBuilder()
Spawn creates a new instance.
optional .byzcoin.Spawn spawn = 2;getSpawnOrBuilder in interface ByzCoinProto.InstructionOrBuilderpublic boolean hasInvoke()
Invoke calls a method of an existing instance.
optional .byzcoin.Invoke invoke = 3;hasInvoke in interface ByzCoinProto.InstructionOrBuilderpublic ByzCoinProto.Invoke getInvoke()
Invoke calls a method of an existing instance.
optional .byzcoin.Invoke invoke = 3;getInvoke in interface ByzCoinProto.InstructionOrBuilderpublic ByzCoinProto.InvokeOrBuilder getInvokeOrBuilder()
Invoke calls a method of an existing instance.
optional .byzcoin.Invoke invoke = 3;getInvokeOrBuilder in interface ByzCoinProto.InstructionOrBuilderpublic boolean hasDelete()
Delete removes the given instance.
optional .byzcoin.Delete delete = 4;hasDelete in interface ByzCoinProto.InstructionOrBuilderpublic ByzCoinProto.Delete getDelete()
Delete removes the given instance.
optional .byzcoin.Delete delete = 4;getDelete in interface ByzCoinProto.InstructionOrBuilderpublic ByzCoinProto.DeleteOrBuilder getDeleteOrBuilder()
Delete removes the given instance.
optional .byzcoin.Delete delete = 4;getDeleteOrBuilder in interface ByzCoinProto.InstructionOrBuilderpublic List<Long> getSignercounterList()
SignerCounter must be set to a value that is one greater than what was in the last instruction signed by the same signer. Every counter must map to the corresponding element in Signature. The initial counter is 1. Overflow is allowed.
repeated uint64 signercounter = 5 [packed = true];getSignercounterList in interface ByzCoinProto.InstructionOrBuilderpublic int getSignercounterCount()
SignerCounter must be set to a value that is one greater than what was in the last instruction signed by the same signer. Every counter must map to the corresponding element in Signature. The initial counter is 1. Overflow is allowed.
repeated uint64 signercounter = 5 [packed = true];getSignercounterCount in interface ByzCoinProto.InstructionOrBuilderpublic long getSignercounter(int index)
SignerCounter must be set to a value that is one greater than what was in the last instruction signed by the same signer. Every counter must map to the corresponding element in Signature. The initial counter is 1. Overflow is allowed.
repeated uint64 signercounter = 5 [packed = true];getSignercounter in interface ByzCoinProto.InstructionOrBuilderpublic List<DarcProto.Identity> getSigneridentitiesList()
SignerIdentities are the identities of all the signers.
repeated .darc.Identity signeridentities = 6;getSigneridentitiesList in interface ByzCoinProto.InstructionOrBuilderpublic List<? extends DarcProto.IdentityOrBuilder> getSigneridentitiesOrBuilderList()
SignerIdentities are the identities of all the signers.
repeated .darc.Identity signeridentities = 6;getSigneridentitiesOrBuilderList in interface ByzCoinProto.InstructionOrBuilderpublic int getSigneridentitiesCount()
SignerIdentities are the identities of all the signers.
repeated .darc.Identity signeridentities = 6;getSigneridentitiesCount in interface ByzCoinProto.InstructionOrBuilderpublic DarcProto.Identity getSigneridentities(int index)
SignerIdentities are the identities of all the signers.
repeated .darc.Identity signeridentities = 6;getSigneridentities in interface ByzCoinProto.InstructionOrBuilderpublic DarcProto.IdentityOrBuilder getSigneridentitiesOrBuilder(int index)
SignerIdentities are the identities of all the signers.
repeated .darc.Identity signeridentities = 6;getSigneridentitiesOrBuilder in interface ByzCoinProto.InstructionOrBuilderpublic List<com.google.protobuf.ByteString> getSignaturesList()
Signatures that are verified using the Darc controlling access to the instance.
repeated bytes signatures = 7;getSignaturesList in interface ByzCoinProto.InstructionOrBuilderpublic int getSignaturesCount()
Signatures that are verified using the Darc controlling access to the instance.
repeated bytes signatures = 7;getSignaturesCount in interface ByzCoinProto.InstructionOrBuilderpublic com.google.protobuf.ByteString getSignatures(int index)
Signatures that are verified using the Darc controlling access to the instance.
repeated bytes signatures = 7;getSignatures 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 © 2019. All rights reserved.