All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hyperledger.fabric.protos.common.LedgerProto Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: common/ledger.proto
// Protobuf Java Version: 4.28.2

package org.hyperledger.fabric.protos.common;

public final class LedgerProto {
  private LedgerProto() {}
  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
      com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
      /* major= */ 4,
      /* minor= */ 28,
      /* patch= */ 2,
      /* suffix= */ "",
      LedgerProto.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_common_BlockchainInfo_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_BlockchainInfo_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_common_BootstrappingSnapshotInfo_descriptor;
  static final 
    com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_common_BootstrappingSnapshotInfo_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\023common/ledger.proto\022\006common\"\343\001\n\016Blockc" +
      "hainInfo\022\026\n\006height\030\001 \001(\004R\006height\022*\n\020curr" +
      "entBlockHash\030\002 \001(\014R\020currentBlockHash\022,\n\021" +
      "previousBlockHash\030\003 \001(\014R\021previousBlockHa" +
      "sh\022_\n\031bootstrappingSnapshotInfo\030\004 \001(\0132!." +
      "common.BootstrappingSnapshotInfoR\031bootst" +
      "rappingSnapshotInfo\"M\n\031BootstrappingSnap" +
      "shotInfo\0220\n\023lastBlockInSnapshot\030\001 \001(\004R\023l" +
      "astBlockInSnapshotB\241\001\n$org.hyperledger.f" +
      "abric.protos.commonB\013LedgerProtoP\001Z4gith" +
      "ub.com/hyperledger/fabric-protos-go-apiv" +
      "2/common\242\002\003CXX\252\002\006Common\312\002\006Common\342\002\022Commo" +
      "n\\GPBMetadata\352\002\006Commonb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
        });
    internal_static_common_BlockchainInfo_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_common_BlockchainInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_BlockchainInfo_descriptor,
        new java.lang.String[] { "Height", "CurrentBlockHash", "PreviousBlockHash", "BootstrappingSnapshotInfo", });
    internal_static_common_BootstrappingSnapshotInfo_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_common_BootstrappingSnapshotInfo_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessage.FieldAccessorTable(
        internal_static_common_BootstrappingSnapshotInfo_descriptor,
        new java.lang.String[] { "LastBlockInSnapshot", });
    descriptor.resolveAllFeaturesImmutable();
  }

  // @@protoc_insertion_point(outer_class_scope)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy