sawtooth.sdk.protobuf.ClientTransaction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sawtooth-sdk-protos Show documentation
Show all versions of sawtooth-sdk-protos Show documentation
"Java classes generated from Sawtooth proto definition files, to interact with the component, consensus, and other validator interfaces"
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: client_transaction.proto
package sawtooth.sdk.protobuf;
public final class ClientTransaction {
private ClientTransaction() {}
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_ClientTransactionListRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientTransactionListRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientTransactionListResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientTransactionListResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientTransactionGetRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientTransactionGetRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientTransactionGetResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientTransactionGetResponse_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\030client_transaction.proto\032\021transaction." +
"proto\032\031client_list_control.proto\"\225\001\n\034Cli" +
"entTransactionListRequest\022\017\n\007head_id\030\001 \001" +
"(\t\022\027\n\017transaction_ids\030\002 \003(\t\022%\n\006paging\030\003 " +
"\001(\0132\025.ClientPagingControls\022$\n\007sorting\030\004 " +
"\003(\0132\023.ClientSortControls\"\316\002\n\035ClientTrans" +
"actionListResponse\0225\n\006status\030\001 \001(\0162%.Cli" +
"entTransactionListResponse.Status\022\"\n\014tra" +
"nsactions\030\002 \003(\0132\014.Transaction\022\017\n\007head_id" +
"\030\003 \001(\t\022%\n\006paging\030\004 \001(\0132\025.ClientPagingRes" +
"ponse\"\231\001\n\006Status\022\020\n\014STATUS_UNSET\020\000\022\006\n\002OK" +
"\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\r\n\tNOT_READY\020\003\022\013\n" +
"\007NO_ROOT\020\004\022\017\n\013NO_RESOURCE\020\005\022\022\n\016INVALID_P" +
"AGING\020\006\022\020\n\014INVALID_SORT\020\007\022\016\n\nINVALID_ID\020" +
"\010\"5\n\033ClientTransactionGetRequest\022\026\n\016tran" +
"saction_id\030\001 \001(\t\"\320\001\n\034ClientTransactionGe" +
"tResponse\0224\n\006status\030\001 \001(\0162$.ClientTransa" +
"ctionGetResponse.Status\022!\n\013transaction\030\002" +
" \001(\0132\014.Transaction\"W\n\006Status\022\020\n\014STATUS_U" +
"NSET\020\000\022\006\n\002OK\020\001\022\022\n\016INTERNAL_ERROR\020\002\022\017\n\013NO" +
"_RESOURCE\020\005\022\016\n\nINVALID_ID\020\010B1\n\025sawtooth." +
"sdk.protobufP\001Z\026client_transaction_pb2b\006" +
"proto3"
};
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[] {
sawtooth.sdk.protobuf.TransactionOuterClass.getDescriptor(),
sawtooth.sdk.protobuf.ClientListControl.getDescriptor(),
}, assigner);
internal_static_ClientTransactionListRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ClientTransactionListRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientTransactionListRequest_descriptor,
new java.lang.String[] { "HeadId", "TransactionIds", "Paging", "Sorting", });
internal_static_ClientTransactionListResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_ClientTransactionListResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientTransactionListResponse_descriptor,
new java.lang.String[] { "Status", "Transactions", "HeadId", "Paging", });
internal_static_ClientTransactionGetRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_ClientTransactionGetRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientTransactionGetRequest_descriptor,
new java.lang.String[] { "TransactionId", });
internal_static_ClientTransactionGetResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_ClientTransactionGetResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientTransactionGetResponse_descriptor,
new java.lang.String[] { "Status", "Transaction", });
sawtooth.sdk.protobuf.TransactionOuterClass.getDescriptor();
sawtooth.sdk.protobuf.ClientListControl.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}