public static final class Protocol.Transaction.Contract extends com.google.protobuf.GeneratedMessageV3 implements Protocol.Transaction.ContractOrBuilder
protocol.Transaction.Contract
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.Transaction.Contract.Builder
Protobuf type
protocol.Transaction.Contract |
static class |
Protocol.Transaction.Contract.ContractType
Protobuf enum
protocol.Transaction.Contract.ContractType |
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 |
CONTRACTNAME_FIELD_NUMBER |
static int |
PARAMETER_FIELD_NUMBER |
static int |
PERMISSION_ID_FIELD_NUMBER |
static int |
PROVIDER_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
com.google.protobuf.ByteString |
getContractName()
bytes ContractName = 4; |
static Protocol.Transaction.Contract |
getDefaultInstance() |
Protocol.Transaction.Contract |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Any |
getParameter()
.google.protobuf.Any parameter = 2; |
com.google.protobuf.AnyOrBuilder |
getParameterOrBuilder()
.google.protobuf.Any parameter = 2; |
com.google.protobuf.Parser<Protocol.Transaction.Contract> |
getParserForType() |
int |
getPermissionId()
int32 Permission_id = 5; |
com.google.protobuf.ByteString |
getProvider()
bytes provider = 3; |
int |
getSerializedSize() |
Protocol.Transaction.Contract.ContractType |
getType()
.protocol.Transaction.Contract.ContractType type = 1; |
int |
getTypeValue()
.protocol.Transaction.Contract.ContractType type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasParameter()
.google.protobuf.Any parameter = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protocol.Transaction.Contract.Builder |
newBuilder() |
static Protocol.Transaction.Contract.Builder |
newBuilder(Protocol.Transaction.Contract prototype) |
Protocol.Transaction.Contract.Builder |
newBuilderForType() |
protected Protocol.Transaction.Contract.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protocol.Transaction.Contract |
parseDelimitedFrom(InputStream input) |
static Protocol.Transaction.Contract |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.Transaction.Contract |
parseFrom(byte[] data) |
static Protocol.Transaction.Contract |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.Transaction.Contract |
parseFrom(ByteBuffer data) |
static Protocol.Transaction.Contract |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.Transaction.Contract |
parseFrom(com.google.protobuf.ByteString data) |
static Protocol.Transaction.Contract |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.Transaction.Contract |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protocol.Transaction.Contract |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protocol.Transaction.Contract |
parseFrom(InputStream input) |
static Protocol.Transaction.Contract |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Protocol.Transaction.Contract> |
parser() |
Protocol.Transaction.Contract.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int TYPE_FIELD_NUMBER
public static final int PARAMETER_FIELD_NUMBER
public static final int PROVIDER_FIELD_NUMBER
public static final int CONTRACTNAME_FIELD_NUMBER
public static final int PERMISSION_ID_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public int getTypeValue()
.protocol.Transaction.Contract.ContractType type = 1;
getTypeValue
in interface Protocol.Transaction.ContractOrBuilder
public Protocol.Transaction.Contract.ContractType getType()
.protocol.Transaction.Contract.ContractType type = 1;
getType
in interface Protocol.Transaction.ContractOrBuilder
public boolean hasParameter()
.google.protobuf.Any parameter = 2;
hasParameter
in interface Protocol.Transaction.ContractOrBuilder
public com.google.protobuf.Any getParameter()
.google.protobuf.Any parameter = 2;
getParameter
in interface Protocol.Transaction.ContractOrBuilder
public com.google.protobuf.AnyOrBuilder getParameterOrBuilder()
.google.protobuf.Any parameter = 2;
getParameterOrBuilder
in interface Protocol.Transaction.ContractOrBuilder
public com.google.protobuf.ByteString getProvider()
bytes provider = 3;
getProvider
in interface Protocol.Transaction.ContractOrBuilder
public com.google.protobuf.ByteString getContractName()
bytes ContractName = 4;
getContractName
in interface Protocol.Transaction.ContractOrBuilder
public int getPermissionId()
int32 Permission_id = 5;
getPermissionId
in interface Protocol.Transaction.ContractOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
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 Protocol.Transaction.Contract parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.Transaction.Contract parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.Transaction.Contract parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.Transaction.Contract parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.Transaction.Contract parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.Transaction.Contract parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protocol.Transaction.Contract parseFrom(InputStream input) throws IOException
IOException
public static Protocol.Transaction.Contract parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.Transaction.Contract parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Protocol.Transaction.Contract parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Protocol.Transaction.Contract parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Protocol.Transaction.Contract parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Protocol.Transaction.Contract.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Protocol.Transaction.Contract.Builder newBuilder()
public static Protocol.Transaction.Contract.Builder newBuilder(Protocol.Transaction.Contract prototype)
public Protocol.Transaction.Contract.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Protocol.Transaction.Contract.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Protocol.Transaction.Contract getDefaultInstance()
public static com.google.protobuf.Parser<Protocol.Transaction.Contract> parser()
public com.google.protobuf.Parser<Protocol.Transaction.Contract> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Protocol.Transaction.Contract getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2020. All rights reserved.