sawtooth.sdk.protobuf.ClientBlock 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_block.proto
package sawtooth.sdk.protobuf;
public final class ClientBlock {
private ClientBlock() {}
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_ClientBlockListRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientBlockListRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientBlockListResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientBlockListResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientBlockGetByIdRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientBlockGetByIdRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientBlockGetByNumRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientBlockGetByNumRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientBlockGetByTransactionIdRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientBlockGetByTransactionIdRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientBlockGetByBatchIdRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientBlockGetByBatchIdRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_ClientBlockGetResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_ClientBlockGetResponse_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\022client_block.proto\032\013block.proto\032\031clien" +
"t_list_control.proto\"\211\001\n\026ClientBlockList" +
"Request\022\017\n\007head_id\030\001 \001(\t\022\021\n\tblock_ids\030\002 " +
"\003(\t\022%\n\006paging\030\003 \001(\0132\025.ClientPagingContro" +
"ls\022$\n\007sorting\030\004 \003(\0132\023.ClientSortControls" +
"\"\266\002\n\027ClientBlockListResponse\022/\n\006status\030\001" +
" \001(\0162\037.ClientBlockListResponse.Status\022\026\n" +
"\006blocks\030\002 \003(\0132\006.Block\022\017\n\007head_id\030\003 \001(\t\022%" +
"\n\006paging\030\004 \001(\0132\025.ClientPagingResponse\"\231\001" +
"\n\006Status\022\020\n\014STATUS_UNSET\020\000\022\006\n\002OK\020\001\022\022\n\016IN" +
"TERNAL_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_PAGING\020\006\022" +
"\020\n\014INVALID_SORT\020\007\022\016\n\nINVALID_ID\020\010\"-\n\031Cli" +
"entBlockGetByIdRequest\022\020\n\010block_id\030\001 \001(\t" +
"\"/\n\032ClientBlockGetByNumRequest\022\021\n\tblock_" +
"num\030\001 \001(\004\">\n$ClientBlockGetByTransaction" +
"IdRequest\022\026\n\016transaction_id\030\001 \001(\t\"2\n\036Cli" +
"entBlockGetByBatchIdRequest\022\020\n\010batch_id\030" +
"\001 \001(\t\"\270\001\n\026ClientBlockGetResponse\022.\n\006stat" +
"us\030\001 \001(\0162\036.ClientBlockGetResponse.Status" +
"\022\025\n\005block\030\002 \001(\0132\006.Block\"W\n\006Status\022\020\n\014STA" +
"TUS_UNSET\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\010B+\n\025sawt" +
"ooth.sdk.protobufP\001Z\020client_block_pb2b\006p" +
"roto3"
};
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.BlockOuterClass.getDescriptor(),
sawtooth.sdk.protobuf.ClientListControl.getDescriptor(),
}, assigner);
internal_static_ClientBlockListRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_ClientBlockListRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientBlockListRequest_descriptor,
new java.lang.String[] { "HeadId", "BlockIds", "Paging", "Sorting", });
internal_static_ClientBlockListResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_ClientBlockListResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientBlockListResponse_descriptor,
new java.lang.String[] { "Status", "Blocks", "HeadId", "Paging", });
internal_static_ClientBlockGetByIdRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_ClientBlockGetByIdRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientBlockGetByIdRequest_descriptor,
new java.lang.String[] { "BlockId", });
internal_static_ClientBlockGetByNumRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_ClientBlockGetByNumRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientBlockGetByNumRequest_descriptor,
new java.lang.String[] { "BlockNum", });
internal_static_ClientBlockGetByTransactionIdRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_ClientBlockGetByTransactionIdRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientBlockGetByTransactionIdRequest_descriptor,
new java.lang.String[] { "TransactionId", });
internal_static_ClientBlockGetByBatchIdRequest_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_ClientBlockGetByBatchIdRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientBlockGetByBatchIdRequest_descriptor,
new java.lang.String[] { "BatchId", });
internal_static_ClientBlockGetResponse_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_ClientBlockGetResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_ClientBlockGetResponse_descriptor,
new java.lang.String[] { "Status", "Block", });
sawtooth.sdk.protobuf.BlockOuterClass.getDescriptor();
sawtooth.sdk.protobuf.ClientListControl.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}