2020-02-07 19:53:44 +08:00

74 lines
3.7 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bdledger/api/common.proto
package bdledger.api.grpc.common;
public final class CommonProto {
private CommonProto() {}
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_bdledger_api_Transaction_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdledger_api_Transaction_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdledger_api_Block_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdledger_api_Block_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\031bdledger/api/common.proto\022\014bdledger.ap" +
"i\"\303\001\n\013Transaction\022\022\n\nblock_hash\030\001 \001(\014\022\r\n" +
"\005index\030\002 \001(\r\022\014\n\004hash\030\003 \001(\014\022+\n\004type\030\004 \001(\016" +
"2\035.bdledger.api.TransactionType\022\014\n\004from\030" +
"\005 \001(\014\022\r\n\005nonce\030\006 \001(\004\022\n\n\002to\030\007 \001(\014\022\014\n\004data" +
"\030\010 \001(\014\022\t\n\001v\030\t \001(\014\022\t\n\001r\030\n \001(\014\022\t\n\001s\030\013 \001(\014\"" +
"\327\001\n\005Block\022\r\n\005index\030\001 \001(\004\022\014\n\004hash\030\002 \001(\014\022\025" +
"\n\rparent_hashes\030\003 \003(\014\022\021\n\twitnesses\030\004 \003(\014" +
"\022\021\n\ttimestamp\030\005 \001(\003\022\014\n\004size\030\006 \001(\004\022\031\n\021tra" +
"nsactions_root\030\007 \001(\014\022/\n\014transactions\030\010 \003" +
"(\0132\031.bdledger.api.Transaction\022\032\n\022transac" +
"tion_hashes\030\t \003(\014*o\n\017TransactionType\022\n\n\006" +
"RECORD\020\000\022\013\n\007MESSAGE\020\001\022\025\n\021CONTRACT_CREATI" +
"ON\020\002\022\027\n\023CONTRACT_INVOCATION\020\003\022\023\n\017CONTRAC" +
"T_STATUS\020\004BQ\n\030bdledger.api.grpc.commonB\013" +
"CommonProtoP\001Z&bdware.org/bdledger/pkg/a" +
"pi/grpc/protob\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
});
internal_static_bdledger_api_Transaction_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bdledger_api_Transaction_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdledger_api_Transaction_descriptor,
new java.lang.String[] { "BlockHash", "Index", "Hash", "Type", "From", "Nonce", "To", "Data", "V", "R", "S", });
internal_static_bdledger_api_Block_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_bdledger_api_Block_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdledger_api_Block_descriptor,
new java.lang.String[] { "Index", "Hash", "ParentHashes", "Witnesses", "Timestamp", "Size", "TransactionsRoot", "Transactions", "TransactionHashes", });
}
// @@protoc_insertion_point(outer_class_scope)
}