bdledger-java-sdk/src/main/java/bdchain/api/grpc/AccountingChainProto.java
2018-09-12 17:35:50 +08:00

186 lines
11 KiB
Java

// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: bdchain/api/ac_chain.proto
package bdchain.api.grpc;
public final class AccountingChainProto {
private AccountingChainProto() {}
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_bdchain_api_Transaction_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_Transaction_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_Block_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_Block_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_BlockNumberRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_BlockNumberRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_BlockNumberResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_BlockNumberResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_GetBlockByNumberRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_GetBlockByNumberRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_GetBlockByHashRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_GetBlockByHashRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_GetTransactionByHashRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_GetTransactionByHashRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_GetTransactionByBlockNumberAndIndexRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_GetTransactionByBlockNumberAndIndexRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_bdchain_api_GetTransactionByBlockHashAndIndexRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_bdchain_api_GetTransactionByBlockHashAndIndexRequest_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\032bdchain/api/ac_chain.proto\022\013bdchain.ap" +
"i\032\030bdchain/api/common.proto\"\330\001\n\013Transact" +
"ion\022\024\n\014block_number\030\001 \001(\004\022\022\n\nblock_hash\030" +
"\002 \001(\014\022\r\n\005index\030\003 \001(\r\022\014\n\004hash\030\004 \001(\014\022*\n\004ty" +
"pe\030\005 \001(\0162\034.bdchain.api.TransactionType\022\014" +
"\n\004from\030\006 \001(\014\022\r\n\005nonce\030\007 \001(\004\022\n\n\002to\030\010 \001(\014\022" +
"\014\n\004data\030\t \001(\014\022\t\n\001v\030\n \001(\014\022\t\n\001r\030\013 \001(\014\022\t\n\001s" +
"\030\014 \001(\014\"\323\001\n\005Block\022\016\n\006number\030\001 \001(\004\022\014\n\004hash" +
"\030\002 \001(\014\022\023\n\013parent_hash\030\003 \001(\014\022\017\n\007witness\030\004" +
" \001(\014\022\021\n\ttimestamp\030\005 \001(\004\022\014\n\004size\030\006 \001(\004\022\031\n" +
"\021transactions_root\030\007 \001(\014\022.\n\014transactions" +
"\030\010 \003(\0132\030.bdchain.api.Transaction\022\032\n\022tran" +
"saction_hashes\030\t \003(\014\"$\n\022BlockNumberReque" +
"st\022\016\n\006ledger\030\001 \001(\t\"+\n\023BlockNumberRespons" +
"e\022\024\n\014block_number\030\001 \001(\004\"S\n\027GetBlockByNum" +
"berRequest\022\016\n\006ledger\030\001 \001(\t\022\016\n\006number\030\002 \001" +
"(\004\022\030\n\020full_transaction\030\003 \001(\010\"O\n\025GetBlock" +
"ByHashRequest\022\016\n\006ledger\030\001 \001(\t\022\014\n\004hash\030\002 " +
"\001(\014\022\030\n\020full_transaction\030\003 \001(\010\";\n\033GetTran" +
"sactionByHashRequest\022\016\n\006ledger\030\001 \001(\t\022\014\n\004" +
"hash\030\002 \001(\014\"a\n*GetTransactionByBlockNumbe" +
"rAndIndexRequest\022\016\n\006ledger\030\001 \001(\t\022\024\n\014bloc" +
"k_number\030\002 \001(\004\022\r\n\005index\030\003 \001(\r\"]\n(GetTran" +
"sactionByBlockHashAndIndexRequest\022\016\n\006led" +
"ger\030\001 \001(\t\022\022\n\nblock_hash\030\002 \001(\014\022\r\n\005index\030\003" +
" \001(\r2\307\004\n\017AccountingChain\022P\n\013BlockNumber\022" +
"\037.bdchain.api.BlockNumberRequest\032 .bdcha" +
"in.api.BlockNumberResponse\022L\n\020GetBlockBy" +
"Number\022$.bdchain.api.GetBlockByNumberReq" +
"uest\032\022.bdchain.api.Block\022H\n\016GetBlockByHa" +
"sh\022\".bdchain.api.GetBlockByHashRequest\032\022" +
".bdchain.api.Block\022Z\n\024GetTransactionByHa" +
"sh\022(.bdchain.api.GetTransactionByHashReq" +
"uest\032\030.bdchain.api.Transaction\022x\n#GetTra" +
"nsactionByBlockNumberAndIndex\0227.bdchain." +
"api.GetTransactionByBlockNumberAndIndexR" +
"equest\032\030.bdchain.api.Transaction\022t\n!GetT" +
"ransactionByBlockHashAndIndex\0225.bdchain." +
"api.GetTransactionByBlockHashAndIndexReq" +
"uest\032\030.bdchain.api.TransactionB@\n\020bdchai" +
"n.api.grpcB\024AccountingChainProtoP\001Z\024bdch" +
"ain/api/ac_chainb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
bdchain.api.grpc.CommonProto.getDescriptor(),
}, assigner);
internal_static_bdchain_api_Transaction_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_bdchain_api_Transaction_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_Transaction_descriptor,
new java.lang.String[] { "BlockNumber", "BlockHash", "Index", "Hash", "Type", "From", "Nonce", "To", "Data", "V", "R", "S", });
internal_static_bdchain_api_Block_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_bdchain_api_Block_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_Block_descriptor,
new java.lang.String[] { "Number", "Hash", "ParentHash", "Witness", "Timestamp", "Size", "TransactionsRoot", "Transactions", "TransactionHashes", });
internal_static_bdchain_api_BlockNumberRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_bdchain_api_BlockNumberRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_BlockNumberRequest_descriptor,
new java.lang.String[] { "Ledger", });
internal_static_bdchain_api_BlockNumberResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_bdchain_api_BlockNumberResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_BlockNumberResponse_descriptor,
new java.lang.String[] { "BlockNumber", });
internal_static_bdchain_api_GetBlockByNumberRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_bdchain_api_GetBlockByNumberRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_GetBlockByNumberRequest_descriptor,
new java.lang.String[] { "Ledger", "Number", "FullTransaction", });
internal_static_bdchain_api_GetBlockByHashRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_bdchain_api_GetBlockByHashRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_GetBlockByHashRequest_descriptor,
new java.lang.String[] { "Ledger", "Hash", "FullTransaction", });
internal_static_bdchain_api_GetTransactionByHashRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_bdchain_api_GetTransactionByHashRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_GetTransactionByHashRequest_descriptor,
new java.lang.String[] { "Ledger", "Hash", });
internal_static_bdchain_api_GetTransactionByBlockNumberAndIndexRequest_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_bdchain_api_GetTransactionByBlockNumberAndIndexRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_GetTransactionByBlockNumberAndIndexRequest_descriptor,
new java.lang.String[] { "Ledger", "BlockNumber", "Index", });
internal_static_bdchain_api_GetTransactionByBlockHashAndIndexRequest_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_bdchain_api_GetTransactionByBlockHashAndIndexRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_bdchain_api_GetTransactionByBlockHashAndIndexRequest_descriptor,
new java.lang.String[] { "Ledger", "BlockHash", "Index", });
bdchain.api.grpc.CommonProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}