public final class ChaincodeEventsRequest extends com.google.protobuf.GeneratedMessageV3 implements ChaincodeEventsRequestOrBuilder
ChaincodeEventsRequest contains details of the chaincode events that the caller wants to receive.Protobuf type
gateway.ChaincodeEventsRequest
Modifier and Type | Class and Description |
---|---|
static class |
ChaincodeEventsRequest.Builder
ChaincodeEventsRequest contains details of the chaincode events that the caller wants to receive.
|
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 |
AFTER_TRANSACTION_ID_FIELD_NUMBER |
static int |
CHAINCODE_ID_FIELD_NUMBER |
static int |
CHANNEL_ID_FIELD_NUMBER |
static int |
IDENTITY_FIELD_NUMBER |
static int |
START_POSITION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAfterTransactionId()
Only returns events after this transaction ID.
|
com.google.protobuf.ByteString |
getAfterTransactionIdBytes()
Only returns events after this transaction ID.
|
String |
getChaincodeId()
Name of the chaincode for which events are requested.
|
com.google.protobuf.ByteString |
getChaincodeIdBytes()
Name of the chaincode for which events are requested.
|
String |
getChannelId()
Identifier of the channel this request is bound for.
|
com.google.protobuf.ByteString |
getChannelIdBytes()
Identifier of the channel this request is bound for.
|
static ChaincodeEventsRequest |
getDefaultInstance() |
ChaincodeEventsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getIdentity()
Client requestor identity.
|
com.google.protobuf.Parser<ChaincodeEventsRequest> |
getParserForType() |
int |
getSerializedSize() |
SeekPosition |
getStartPosition()
Position within the ledger at which to start reading events.
|
SeekPositionOrBuilder |
getStartPositionOrBuilder()
Position within the ledger at which to start reading events.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasStartPosition()
Position within the ledger at which to start reading events.
|
boolean |
isInitialized() |
static ChaincodeEventsRequest.Builder |
newBuilder() |
static ChaincodeEventsRequest.Builder |
newBuilder(ChaincodeEventsRequest prototype) |
ChaincodeEventsRequest.Builder |
newBuilderForType() |
static ChaincodeEventsRequest |
parseDelimitedFrom(InputStream input) |
static ChaincodeEventsRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeEventsRequest |
parseFrom(byte[] data) |
static ChaincodeEventsRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeEventsRequest |
parseFrom(ByteBuffer data) |
static ChaincodeEventsRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeEventsRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ChaincodeEventsRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeEventsRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ChaincodeEventsRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ChaincodeEventsRequest |
parseFrom(InputStream input) |
static ChaincodeEventsRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ChaincodeEventsRequest> |
parser() |
ChaincodeEventsRequest.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 CHANNEL_ID_FIELD_NUMBER
public static final int CHAINCODE_ID_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER
public static final int START_POSITION_FIELD_NUMBER
public static final int AFTER_TRANSACTION_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 getChannelId()
Identifier of the channel this request is bound for.
string channel_id = 1 [json_name = "channelId"];
getChannelId
in interface ChaincodeEventsRequestOrBuilder
public com.google.protobuf.ByteString getChannelIdBytes()
Identifier of the channel this request is bound for.
string channel_id = 1 [json_name = "channelId"];
getChannelIdBytes
in interface ChaincodeEventsRequestOrBuilder
public String getChaincodeId()
Name of the chaincode for which events are requested.
string chaincode_id = 2 [json_name = "chaincodeId"];
getChaincodeId
in interface ChaincodeEventsRequestOrBuilder
public com.google.protobuf.ByteString getChaincodeIdBytes()
Name of the chaincode for which events are requested.
string chaincode_id = 2 [json_name = "chaincodeId"];
getChaincodeIdBytes
in interface ChaincodeEventsRequestOrBuilder
public com.google.protobuf.ByteString getIdentity()
Client requestor identity.
bytes identity = 3 [json_name = "identity"];
getIdentity
in interface ChaincodeEventsRequestOrBuilder
public boolean hasStartPosition()
Position within the ledger at which to start reading events.
.orderer.SeekPosition start_position = 4 [json_name = "startPosition"];
hasStartPosition
in interface ChaincodeEventsRequestOrBuilder
public SeekPosition getStartPosition()
Position within the ledger at which to start reading events.
.orderer.SeekPosition start_position = 4 [json_name = "startPosition"];
getStartPosition
in interface ChaincodeEventsRequestOrBuilder
public SeekPositionOrBuilder getStartPositionOrBuilder()
Position within the ledger at which to start reading events.
.orderer.SeekPosition start_position = 4 [json_name = "startPosition"];
getStartPositionOrBuilder
in interface ChaincodeEventsRequestOrBuilder
public String getAfterTransactionId()
Only returns events after this transaction ID. Transactions up to and including this one should be ignored. This is used to allow resume of event listening from a certain position within a start block specified by start_position.
string after_transaction_id = 5 [json_name = "afterTransactionId"];
getAfterTransactionId
in interface ChaincodeEventsRequestOrBuilder
public com.google.protobuf.ByteString getAfterTransactionIdBytes()
Only returns events after this transaction ID. Transactions up to and including this one should be ignored. This is used to allow resume of event listening from a certain position within a start block specified by start_position.
string after_transaction_id = 5 [json_name = "afterTransactionId"];
getAfterTransactionIdBytes
in interface ChaincodeEventsRequestOrBuilder
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 ChaincodeEventsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeEventsRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeEventsRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeEventsRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeEventsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeEventsRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static ChaincodeEventsRequest parseFrom(InputStream input) throws IOException
IOException
public static ChaincodeEventsRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeEventsRequest parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ChaincodeEventsRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ChaincodeEventsRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static ChaincodeEventsRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ChaincodeEventsRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static ChaincodeEventsRequest.Builder newBuilder()
public static ChaincodeEventsRequest.Builder newBuilder(ChaincodeEventsRequest prototype)
public ChaincodeEventsRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
public static ChaincodeEventsRequest getDefaultInstance()
public static com.google.protobuf.Parser<ChaincodeEventsRequest> parser()
public com.google.protobuf.Parser<ChaincodeEventsRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public ChaincodeEventsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.