public final class ChaincodeInfo extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeInfoOrBuilder
ChaincodeInfo contains general information about an installed/instantiated chaincodeProtobuf type
protos.ChaincodeInfo
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeInfo.Builder
ChaincodeInfo contains general information about an installed/instantiated
chaincode
|
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 |
ESCC_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
INPUT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PATH_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
static int |
VSCC_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ChaincodeInfo |
getDefaultInstance() |
ChaincodeInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEscc()
the name of the ESCC for this chaincode.
|
com.google.protobuf.ByteString |
getEsccBytes()
the name of the ESCC for this chaincode.
|
com.google.protobuf.ByteString |
getId()
the chaincode unique id.
|
String |
getInput()
the chaincode function upon instantiation and its arguments.
|
com.google.protobuf.ByteString |
getInputBytes()
the chaincode function upon instantiation and its arguments.
|
String |
getName()
string name = 1 [json_name = "name"]; |
com.google.protobuf.ByteString |
getNameBytes()
string name = 1 [json_name = "name"]; |
com.google.protobuf.Parser<ChaincodeInfo> |
getParserForType() |
String |
getPath()
the path as specified by the install/instantiate transaction
|
com.google.protobuf.ByteString |
getPathBytes()
the path as specified by the install/instantiate transaction
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
getVersion()
string version = 2 [json_name = "version"]; |
com.google.protobuf.ByteString |
getVersionBytes()
string version = 2 [json_name = "version"]; |
String |
getVscc()
the name of the VSCC for this chaincode.
|
com.google.protobuf.ByteString |
getVsccBytes()
the name of the VSCC for this chaincode.
|
int |
hashCode() |
boolean |
isInitialized() |
static ChaincodeInfo.Builder |
newBuilder() |
static ChaincodeInfo.Builder |
newBuilder(ChaincodeInfo prototype) |
ChaincodeInfo.Builder |
newBuilderForType() |
static ChaincodeInfo |
parseDelimitedFrom(InputStream input) |
static ChaincodeInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeInfo |
parseFrom(byte[] data) |
static ChaincodeInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeInfo |
parseFrom(ByteBuffer data) |
static ChaincodeInfo |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeInfo |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeInfo |
parseFrom(InputStream input) |
static ChaincodeInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeInfo> |
parser() |
ChaincodeInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int INPUT_FIELD_NUMBER
public static final int ESCC_FIELD_NUMBER
public static final int VSCC_FIELD_NUMBER
public static final int 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()
public String getName()
string name = 1 [json_name = "name"];
getName
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
string name = 1 [json_name = "name"];
getNameBytes
in interface ChaincodeInfoOrBuilder
public String getVersion()
string version = 2 [json_name = "version"];
getVersion
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
string version = 2 [json_name = "version"];
getVersionBytes
in interface ChaincodeInfoOrBuilder
public String getPath()
the path as specified by the install/instantiate transaction
string path = 3 [json_name = "path"];
getPath
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getPathBytes()
the path as specified by the install/instantiate transaction
string path = 3 [json_name = "path"];
getPathBytes
in interface ChaincodeInfoOrBuilder
public String getInput()
the chaincode function upon instantiation and its arguments. This will be blank if the query is returning information about installed chaincodes.
string input = 4 [json_name = "input"];
getInput
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getInputBytes()
the chaincode function upon instantiation and its arguments. This will be blank if the query is returning information about installed chaincodes.
string input = 4 [json_name = "input"];
getInputBytes
in interface ChaincodeInfoOrBuilder
public String getEscc()
the name of the ESCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string escc = 5 [json_name = "escc"];
getEscc
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getEsccBytes()
the name of the ESCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string escc = 5 [json_name = "escc"];
getEsccBytes
in interface ChaincodeInfoOrBuilder
public String getVscc()
the name of the VSCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string vscc = 6 [json_name = "vscc"];
getVscc
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getVsccBytes()
the name of the VSCC for this chaincode. This will be blank if the query is returning information about installed chaincodes.
string vscc = 6 [json_name = "vscc"];
getVsccBytes
in interface ChaincodeInfoOrBuilder
public com.google.protobuf.ByteString getId()
the chaincode unique id. computed as: H( H(name || version) || H(CodePackage) )
bytes id = 7 [json_name = "id"];
getId
in interface ChaincodeInfoOrBuilder
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 ChaincodeInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeInfo parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeInfo.Builder newBuilder()
public static ChaincodeInfo.Builder newBuilder(ChaincodeInfo prototype)
public ChaincodeInfo.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeInfo getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeInfo> parser()
public com.google.protobuf.Parser<ChaincodeInfo> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.