public final class QueryChaincodeDefinitionResult extends com.google.protobuf.GeneratedMessageV3 implements QueryChaincodeDefinitionResultOrBuilder
QueryChaincodeDefinitionResult is the message returned by `_lifecycle.QueryChaincodeDefinition`.Protobuf type
lifecycle.QueryChaincodeDefinitionResult
Modifier and Type | Class and Description |
---|---|
static class |
QueryChaincodeDefinitionResult.Builder
QueryChaincodeDefinitionResult is the message returned by
`_lifecycle.QueryChaincodeDefinition`.
|
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 |
APPROVALS_FIELD_NUMBER |
static int |
COLLECTIONS_FIELD_NUMBER |
static int |
ENDORSEMENT_PLUGIN_FIELD_NUMBER |
static int |
INIT_REQUIRED_FIELD_NUMBER |
static int |
SEQUENCE_FIELD_NUMBER |
static int |
VALIDATION_PARAMETER_FIELD_NUMBER |
static int |
VALIDATION_PLUGIN_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsApprovals(String key)
map<string, bool> approvals = 8 [json_name = "approvals"]; |
boolean |
equals(Object obj) |
Map<String,Boolean> |
getApprovals()
Deprecated.
|
int |
getApprovalsCount()
map<string, bool> approvals = 8 [json_name = "approvals"]; |
Map<String,Boolean> |
getApprovalsMap()
map<string, bool> approvals = 8 [json_name = "approvals"]; |
boolean |
getApprovalsOrDefault(String key,
boolean defaultValue)
map<string, bool> approvals = 8 [json_name = "approvals"]; |
boolean |
getApprovalsOrThrow(String key)
map<string, bool> approvals = 8 [json_name = "approvals"]; |
CollectionConfigPackage |
getCollections()
.protos.CollectionConfigPackage collections = 6 [json_name = "collections"]; |
CollectionConfigPackageOrBuilder |
getCollectionsOrBuilder()
.protos.CollectionConfigPackage collections = 6 [json_name = "collections"]; |
static QueryChaincodeDefinitionResult |
getDefaultInstance() |
QueryChaincodeDefinitionResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEndorsementPlugin()
string endorsement_plugin = 3 [json_name = "endorsementPlugin"]; |
com.google.protobuf.ByteString |
getEndorsementPluginBytes()
string endorsement_plugin = 3 [json_name = "endorsementPlugin"]; |
boolean |
getInitRequired()
bool init_required = 7 [json_name = "initRequired"]; |
com.google.protobuf.Parser<QueryChaincodeDefinitionResult> |
getParserForType() |
long |
getSequence()
int64 sequence = 1 [json_name = "sequence"]; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValidationParameter()
bytes validation_parameter = 5 [json_name = "validationParameter"]; |
String |
getValidationPlugin()
string validation_plugin = 4 [json_name = "validationPlugin"]; |
com.google.protobuf.ByteString |
getValidationPluginBytes()
string validation_plugin = 4 [json_name = "validationPlugin"]; |
String |
getVersion()
string version = 2 [json_name = "version"]; |
com.google.protobuf.ByteString |
getVersionBytes()
string version = 2 [json_name = "version"]; |
boolean |
hasCollections()
.protos.CollectionConfigPackage collections = 6 [json_name = "collections"]; |
int |
hashCode() |
boolean |
isInitialized() |
static QueryChaincodeDefinitionResult.Builder |
newBuilder() |
static QueryChaincodeDefinitionResult.Builder |
newBuilder(QueryChaincodeDefinitionResult prototype) |
QueryChaincodeDefinitionResult.Builder |
newBuilderForType() |
static QueryChaincodeDefinitionResult |
parseDelimitedFrom(InputStream input) |
static QueryChaincodeDefinitionResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryChaincodeDefinitionResult |
parseFrom(byte[] data) |
static QueryChaincodeDefinitionResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryChaincodeDefinitionResult |
parseFrom(ByteBuffer data) |
static QueryChaincodeDefinitionResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryChaincodeDefinitionResult |
parseFrom(com.google.protobuf.ByteString data) |
static QueryChaincodeDefinitionResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryChaincodeDefinitionResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static QueryChaincodeDefinitionResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static QueryChaincodeDefinitionResult |
parseFrom(InputStream input) |
static QueryChaincodeDefinitionResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<QueryChaincodeDefinitionResult> |
parser() |
QueryChaincodeDefinitionResult.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 SEQUENCE_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int ENDORSEMENT_PLUGIN_FIELD_NUMBER
public static final int VALIDATION_PLUGIN_FIELD_NUMBER
public static final int VALIDATION_PARAMETER_FIELD_NUMBER
public static final int COLLECTIONS_FIELD_NUMBER
public static final int INIT_REQUIRED_FIELD_NUMBER
public static final int APPROVALS_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 long getSequence()
int64 sequence = 1 [json_name = "sequence"];
getSequence
in interface QueryChaincodeDefinitionResultOrBuilder
public String getVersion()
string version = 2 [json_name = "version"];
getVersion
in interface QueryChaincodeDefinitionResultOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
string version = 2 [json_name = "version"];
getVersionBytes
in interface QueryChaincodeDefinitionResultOrBuilder
public String getEndorsementPlugin()
string endorsement_plugin = 3 [json_name = "endorsementPlugin"];
getEndorsementPlugin
in interface QueryChaincodeDefinitionResultOrBuilder
public com.google.protobuf.ByteString getEndorsementPluginBytes()
string endorsement_plugin = 3 [json_name = "endorsementPlugin"];
getEndorsementPluginBytes
in interface QueryChaincodeDefinitionResultOrBuilder
public String getValidationPlugin()
string validation_plugin = 4 [json_name = "validationPlugin"];
getValidationPlugin
in interface QueryChaincodeDefinitionResultOrBuilder
public com.google.protobuf.ByteString getValidationPluginBytes()
string validation_plugin = 4 [json_name = "validationPlugin"];
getValidationPluginBytes
in interface QueryChaincodeDefinitionResultOrBuilder
public com.google.protobuf.ByteString getValidationParameter()
bytes validation_parameter = 5 [json_name = "validationParameter"];
getValidationParameter
in interface QueryChaincodeDefinitionResultOrBuilder
public boolean hasCollections()
.protos.CollectionConfigPackage collections = 6 [json_name = "collections"];
hasCollections
in interface QueryChaincodeDefinitionResultOrBuilder
public CollectionConfigPackage getCollections()
.protos.CollectionConfigPackage collections = 6 [json_name = "collections"];
getCollections
in interface QueryChaincodeDefinitionResultOrBuilder
public CollectionConfigPackageOrBuilder getCollectionsOrBuilder()
.protos.CollectionConfigPackage collections = 6 [json_name = "collections"];
getCollectionsOrBuilder
in interface QueryChaincodeDefinitionResultOrBuilder
public boolean getInitRequired()
bool init_required = 7 [json_name = "initRequired"];
getInitRequired
in interface QueryChaincodeDefinitionResultOrBuilder
public int getApprovalsCount()
QueryChaincodeDefinitionResultOrBuilder
map<string, bool> approvals = 8 [json_name = "approvals"];
getApprovalsCount
in interface QueryChaincodeDefinitionResultOrBuilder
public boolean containsApprovals(String key)
map<string, bool> approvals = 8 [json_name = "approvals"];
containsApprovals
in interface QueryChaincodeDefinitionResultOrBuilder
@Deprecated public Map<String,Boolean> getApprovals()
getApprovalsMap()
instead.getApprovals
in interface QueryChaincodeDefinitionResultOrBuilder
public Map<String,Boolean> getApprovalsMap()
map<string, bool> approvals = 8 [json_name = "approvals"];
getApprovalsMap
in interface QueryChaincodeDefinitionResultOrBuilder
public boolean getApprovalsOrDefault(String key, boolean defaultValue)
map<string, bool> approvals = 8 [json_name = "approvals"];
getApprovalsOrDefault
in interface QueryChaincodeDefinitionResultOrBuilder
public boolean getApprovalsOrThrow(String key)
map<string, bool> approvals = 8 [json_name = "approvals"];
getApprovalsOrThrow
in interface QueryChaincodeDefinitionResultOrBuilder
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 QueryChaincodeDefinitionResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryChaincodeDefinitionResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryChaincodeDefinitionResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryChaincodeDefinitionResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryChaincodeDefinitionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryChaincodeDefinitionResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static QueryChaincodeDefinitionResult parseFrom(InputStream input) throws IOException
IOException
public static QueryChaincodeDefinitionResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryChaincodeDefinitionResult parseDelimitedFrom(InputStream input) throws IOException
IOException
public static QueryChaincodeDefinitionResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static QueryChaincodeDefinitionResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static QueryChaincodeDefinitionResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public QueryChaincodeDefinitionResult.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static QueryChaincodeDefinitionResult.Builder newBuilder()
public static QueryChaincodeDefinitionResult.Builder newBuilder(QueryChaincodeDefinitionResult prototype)
public QueryChaincodeDefinitionResult.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static QueryChaincodeDefinitionResult getDefaultInstance()
public static com.google.protobuf.Parser<QueryChaincodeDefinitionResult> parser()
public com.google.protobuf.Parser<QueryChaincodeDefinitionResult> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public QueryChaincodeDefinitionResult getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.