136 lines
7.0 KiB
Java
136 lines
7.0 KiB
Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: bdchain/api/tx_ledger.proto
|
|
|
|
package bdchain.api.grpc;
|
|
|
|
public final class TransactionLedgerProto {
|
|
private TransactionLedgerProto() {}
|
|
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_CreateLedgerRequest_descriptor;
|
|
static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_bdchain_api_CreateLedgerRequest_fieldAccessorTable;
|
|
static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_bdchain_api_CreateLedgerResponse_descriptor;
|
|
static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_bdchain_api_CreateLedgerResponse_fieldAccessorTable;
|
|
static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_bdchain_api_GetLedgersResponse_descriptor;
|
|
static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_bdchain_api_GetLedgersResponse_fieldAccessorTable;
|
|
static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_bdchain_api_SendTransactionRequest_descriptor;
|
|
static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_bdchain_api_SendTransactionRequest_fieldAccessorTable;
|
|
static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_bdchain_api_SendTransactionRequest_Transaction_descriptor;
|
|
static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_bdchain_api_SendTransactionRequest_Transaction_fieldAccessorTable;
|
|
static final com.google.protobuf.Descriptors.Descriptor
|
|
internal_static_bdchain_api_SendTransactionResponse_descriptor;
|
|
static final
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
|
|
internal_static_bdchain_api_SendTransactionResponse_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\033bdchain/api/tx_ledger.proto\022\013bdchain.a" +
|
|
"pi\032\033google/protobuf/empty.proto\032\030bdchain" +
|
|
"/api/common.proto\"#\n\023CreateLedgerRequest" +
|
|
"\022\014\n\004name\030\001 \001(\t\"\"\n\024CreateLedgerResponse\022\n" +
|
|
"\n\002ok\030\001 \001(\010\"%\n\022GetLedgersResponse\022\017\n\007ledg" +
|
|
"ers\030\001 \003(\t\"\321\001\n\026SendTransactionRequest\022\016\n\006" +
|
|
"ledger\030\001 \001(\t\022D\n\013transaction\030\002 \001(\0132/.bdch" +
|
|
"ain.api.SendTransactionRequest.Transacti" +
|
|
"on\032a\n\013Transaction\022*\n\004type\030\001 \001(\0162\034.bdchai" +
|
|
"n.api.TransactionType\022\014\n\004from\030\002 \001(\014\022\n\n\002t" +
|
|
"o\030\003 \001(\014\022\014\n\004data\030\004 \001(\014\"\'\n\027SendTransaction" +
|
|
"Response\022\014\n\004hash\030\001 \001(\0142\332\002\n\021TransactionLe" +
|
|
"dger\022K\n\rClientVersion\022\026.google.protobuf." +
|
|
"Empty\032\".bdchain.api.ClientVersionRespons" +
|
|
"e\022S\n\014CreateLedger\022 .bdchain.api.CreateLe" +
|
|
"dgerRequest\032!.bdchain.api.CreateLedgerRe" +
|
|
"sponse\022E\n\nGetLedgers\022\026.google.protobuf.E" +
|
|
"mpty\032\037.bdchain.api.GetLedgersResponse\022\\\n" +
|
|
"\017SendTransaction\022#.bdchain.api.SendTrans" +
|
|
"actionRequest\032$.bdchain.api.SendTransact" +
|
|
"ionResponseBK\n\020bdchain.api.grpcB\026Transac" +
|
|
"tionLedgerProtoP\001Z\035bdchain/sdk/api/grpc/" +
|
|
"txledgerb\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[] {
|
|
com.google.protobuf.EmptyProto.getDescriptor(),
|
|
bdchain.api.grpc.CommonProto.getDescriptor(),
|
|
}, assigner);
|
|
internal_static_bdchain_api_CreateLedgerRequest_descriptor =
|
|
getDescriptor().getMessageTypes().get(0);
|
|
internal_static_bdchain_api_CreateLedgerRequest_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_bdchain_api_CreateLedgerRequest_descriptor,
|
|
new java.lang.String[] { "Name", });
|
|
internal_static_bdchain_api_CreateLedgerResponse_descriptor =
|
|
getDescriptor().getMessageTypes().get(1);
|
|
internal_static_bdchain_api_CreateLedgerResponse_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_bdchain_api_CreateLedgerResponse_descriptor,
|
|
new java.lang.String[] { "Ok", });
|
|
internal_static_bdchain_api_GetLedgersResponse_descriptor =
|
|
getDescriptor().getMessageTypes().get(2);
|
|
internal_static_bdchain_api_GetLedgersResponse_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_bdchain_api_GetLedgersResponse_descriptor,
|
|
new java.lang.String[] { "Ledgers", });
|
|
internal_static_bdchain_api_SendTransactionRequest_descriptor =
|
|
getDescriptor().getMessageTypes().get(3);
|
|
internal_static_bdchain_api_SendTransactionRequest_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_bdchain_api_SendTransactionRequest_descriptor,
|
|
new java.lang.String[] { "Ledger", "Transaction", });
|
|
internal_static_bdchain_api_SendTransactionRequest_Transaction_descriptor =
|
|
internal_static_bdchain_api_SendTransactionRequest_descriptor.getNestedTypes().get(0);
|
|
internal_static_bdchain_api_SendTransactionRequest_Transaction_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_bdchain_api_SendTransactionRequest_Transaction_descriptor,
|
|
new java.lang.String[] { "Type", "From", "To", "Data", });
|
|
internal_static_bdchain_api_SendTransactionResponse_descriptor =
|
|
getDescriptor().getMessageTypes().get(4);
|
|
internal_static_bdchain_api_SendTransactionResponse_fieldAccessorTable = new
|
|
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
|
|
internal_static_bdchain_api_SendTransactionResponse_descriptor,
|
|
new java.lang.String[] { "Hash", });
|
|
com.google.protobuf.EmptyProto.getDescriptor();
|
|
bdchain.api.grpc.CommonProto.getDescriptor();
|
|
}
|
|
|
|
// @@protoc_insertion_point(outer_class_scope)
|
|
}
|