public final class ChaincodeQuery extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeQueryOrBuilder
ChaincodeQuery requests ChaincodeQueryResults for a given list of chaincode invocations. Each invocation is a separate one, and the endorsement policy is evaluated independantly for each given interest.Protobuf type
discovery.ChaincodeQuery
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeQuery.Builder
ChaincodeQuery requests ChaincodeQueryResults for a given
list of chaincode invocations.
|
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 |
INTERESTS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static ChaincodeQuery |
getDefaultInstance() |
ChaincodeQuery |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ChaincodeInterest |
getInterests(int index)
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"]; |
int |
getInterestsCount()
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"]; |
List<ChaincodeInterest> |
getInterestsList()
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"]; |
ChaincodeInterestOrBuilder |
getInterestsOrBuilder(int index)
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"]; |
List<? extends ChaincodeInterestOrBuilder> |
getInterestsOrBuilderList()
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"]; |
com.google.protobuf.Parser<ChaincodeQuery> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
isInitialized() |
static ChaincodeQuery.Builder |
newBuilder() |
static ChaincodeQuery.Builder |
newBuilder(ChaincodeQuery prototype) |
ChaincodeQuery.Builder |
newBuilderForType() |
static ChaincodeQuery |
parseDelimitedFrom(InputStream input) |
static ChaincodeQuery |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeQuery |
parseFrom(byte[] data) |
static ChaincodeQuery |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeQuery |
parseFrom(ByteBuffer data) |
static ChaincodeQuery |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeQuery |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeQuery |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeQuery |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeQuery |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeQuery |
parseFrom(InputStream input) |
static ChaincodeQuery |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeQuery> |
parser() |
ChaincodeQuery.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 INTERESTS_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 List<ChaincodeInterest> getInterestsList()
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"];
getInterestsList
in interface ChaincodeQueryOrBuilder
public List<? extends ChaincodeInterestOrBuilder> getInterestsOrBuilderList()
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"];
getInterestsOrBuilderList
in interface ChaincodeQueryOrBuilder
public int getInterestsCount()
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"];
getInterestsCount
in interface ChaincodeQueryOrBuilder
public ChaincodeInterest getInterests(int index)
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"];
getInterests
in interface ChaincodeQueryOrBuilder
public ChaincodeInterestOrBuilder getInterestsOrBuilder(int index)
repeated .protos.ChaincodeInterest interests = 1 [json_name = "interests"];
getInterestsOrBuilder
in interface ChaincodeQueryOrBuilder
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 ChaincodeQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeQuery parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeQuery parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeQuery.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeQuery.Builder newBuilder()
public static ChaincodeQuery.Builder newBuilder(ChaincodeQuery prototype)
public ChaincodeQuery.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeQuery getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeQuery> parser()
public com.google.protobuf.Parser<ChaincodeQuery> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeQuery getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.