org.hyperledger.fabric.protos.peer.SnapshotProto Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: peer/snapshot.proto
// Protobuf Java Version: 4.28.2
package org.hyperledger.fabric.protos.peer;
public final class SnapshotProto {
private SnapshotProto() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
SnapshotProto.class.getName());
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_SnapshotRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_protos_SnapshotRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_SnapshotQuery_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_protos_SnapshotQuery_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_SignedSnapshotRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_protos_SignedSnapshotRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_protos_QueryPendingSnapshotsResponse_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_protos_QueryPendingSnapshotsResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\023peer/snapshot.proto\022\006protos\032\033google/pr" +
"otobuf/empty.proto\032\023common/common.proto\"" +
"\227\001\n\017SnapshotRequest\022B\n\020signature_header\030" +
"\001 \001(\0132\027.common.SignatureHeaderR\017signatur" +
"eHeader\022\035\n\nchannel_id\030\002 \001(\tR\tchannelId\022!" +
"\n\014block_number\030\003 \001(\004R\013blockNumber\"r\n\rSna" +
"pshotQuery\022B\n\020signature_header\030\001 \001(\0132\027.c" +
"ommon.SignatureHeaderR\017signatureHeader\022\035" +
"\n\nchannel_id\030\002 \001(\tR\tchannelId\"O\n\025SignedS" +
"napshotRequest\022\030\n\007request\030\001 \001(\014R\007request" +
"\022\034\n\tsignature\030\002 \001(\014R\tsignature\"D\n\035QueryP" +
"endingSnapshotsResponse\022#\n\rblock_numbers" +
"\030\001 \003(\004R\014blockNumbers2\353\001\n\010Snapshot\022C\n\010Gen" +
"erate\022\035.protos.SignedSnapshotRequest\032\026.g" +
"oogle.protobuf.Empty\"\000\022A\n\006Cancel\022\035.proto" +
"s.SignedSnapshotRequest\032\026.google.protobu" +
"f.Empty\"\000\022W\n\rQueryPendings\022\035.protos.Sign" +
"edSnapshotRequest\032%.protos.QueryPendingS" +
"napshotsResponse\"\000B\237\001\n\"org.hyperledger.f" +
"abric.protos.peerB\rSnapshotProtoP\001Z2gith" +
"ub.com/hyperledger/fabric-protos-go-apiv" +
"2/peer\242\002\003PXX\252\002\006Protos\312\002\006Protos\342\002\022Protos\\" +
"GPBMetadata\352\002\006Protosb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.EmptyProto.getDescriptor(),
org.hyperledger.fabric.protos.common.CommonProto.getDescriptor(),
});
internal_static_protos_SnapshotRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_protos_SnapshotRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_protos_SnapshotRequest_descriptor,
new java.lang.String[] { "SignatureHeader", "ChannelId", "BlockNumber", });
internal_static_protos_SnapshotQuery_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_protos_SnapshotQuery_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_protos_SnapshotQuery_descriptor,
new java.lang.String[] { "SignatureHeader", "ChannelId", });
internal_static_protos_SignedSnapshotRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_protos_SignedSnapshotRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_protos_SignedSnapshotRequest_descriptor,
new java.lang.String[] { "Request", "Signature", });
internal_static_protos_QueryPendingSnapshotsResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_protos_QueryPendingSnapshotsResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_protos_QueryPendingSnapshotsResponse_descriptor,
new java.lang.String[] { "BlockNumbers", });
descriptor.resolveAllFeaturesImmutable();
com.google.protobuf.EmptyProto.getDescriptor();
org.hyperledger.fabric.protos.common.CommonProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy