org.finos.tracdap.api.Data Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tracdap-api-services Show documentation
Show all versions of tracdap-api-services Show documentation
TRAC D.A.P. platform API, contains service API definitions for the TRAC platform services
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: tracdap/api/data.proto
// Protobuf Java Version: 4.28.2
package org.finos.tracdap.api;
public final class Data {
private Data() {}
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
/* major= */ 4,
/* minor= */ 28,
/* patch= */ 2,
/* suffix= */ "",
Data.class.getName());
}
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_tracdap_api_DataWriteRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_DataWriteRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tracdap_api_DataReadRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_DataReadRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tracdap_api_DataReadResponse_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_DataReadResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tracdap_api_FileWriteRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_FileWriteRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tracdap_api_FileReadRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_FileReadRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tracdap_api_FileReadResponse_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_FileReadResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tracdap_api_DownloadRequest_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_DownloadRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_tracdap_api_DownloadResponse_descriptor;
static final
com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_tracdap_api_DownloadResponse_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\026tracdap/api/data.proto\022\013tracdap.api\032 t" +
"racdap/metadata/object_id.proto\032\033tracdap" +
"/metadata/data.proto\032\033tracdap/metadata/f" +
"ile.proto\032!tracdap/metadata/tag_update.p" +
"roto\032\034google/api/annotations.proto\"\372\002\n\020D" +
"ataWriteRequest\022\016\n\006tenant\030\001 \001(\t\0228\n\014prior" +
"Version\030\002 \001(\0132\035.tracdap.metadata.TagSele" +
"ctorH\001\210\001\001\022/\n\ntagUpdates\030\003 \003(\0132\033.tracdap." +
"metadata.TagUpdate\0221\n\010schemaId\030\004 \001(\0132\035.t" +
"racdap.metadata.TagSelectorH\000\0224\n\006schema\030" +
"\005 \001(\0132\".tracdap.metadata.SchemaDefinitio" +
"nH\000\022\016\n\006format\030\t \001(\t\022\020\n\007content\030\350\007 \001(\014B\021\n" +
"\017schemaSpecifierB\017\n\r_priorVersionJ\004\010\006\020\007J" +
"\004\010\007\020\010J\004\010\010\020\tR\013inferSchemaR\rschemaUpdatesR" +
"\016schemaHandling\"\240\001\n\017DataReadRequest\022\016\n\006t" +
"enant\030\001 \001(\t\022/\n\010selector\030\002 \001(\0132\035.tracdap." +
"metadata.TagSelector\022\016\n\006format\030\003 \001(\t\022\022\n\005" +
"limit\030\004 \001(\004H\000\210\001\001\022\023\n\006offset\030\005 \001(\004H\001\210\001\001B\010\n" +
"\006_limitB\t\n\007_offset\"h\n\020DataReadResponse\0227" +
"\n\006schema\030\001 \001(\0132\".tracdap.metadata.Schema" +
"DefinitionH\000\210\001\001\022\020\n\007content\030\350\007 \001(\014B\t\n\007_sc" +
"hema\"\354\001\n\020FileWriteRequest\022\016\n\006tenant\030\001 \001(" +
"\t\0228\n\014priorVersion\030\002 \001(\0132\035.tracdap.metada" +
"ta.TagSelectorH\000\210\001\001\022/\n\ntagUpdates\030\003 \003(\0132" +
"\033.tracdap.metadata.TagUpdate\022\014\n\004name\030\004 \001" +
"(\t\022\020\n\010mimeType\030\005 \001(\t\022\021\n\004size\030\006 \001(\004H\001\210\001\001\022" +
"\020\n\007content\030\350\007 \001(\014B\017\n\r_priorVersionB\007\n\005_s" +
"ize\"R\n\017FileReadRequest\022\016\n\006tenant\030\001 \001(\t\022/" +
"\n\010selector\030\002 \001(\0132\035.tracdap.metadata.TagS" +
"elector\"v\n\020FileReadResponse\022=\n\016fileDefin" +
"ition\030\001 \001(\0132 .tracdap.metadata.FileDefin" +
"itionH\000\210\001\001\022\020\n\007content\030\350\007 \001(\014B\021\n\017_fileDef" +
"inition\"\223\001\n\017DownloadRequest\022\016\n\006tenant\030\001 " +
"\001(\t\0220\n\nobjectType\030\002 \001(\0162\034.tracdap.metada" +
"ta.ObjectType\022\020\n\010objectId\030\003 \001(\t\022\032\n\robjec" +
"tVersion\030\004 \001(\005H\000\210\001\001B\020\n\016_objectVersion\"|\n" +
"\020DownloadResponse\022\030\n\013contentType\030\001 \001(\tH\000" +
"\210\001\001\022\032\n\rcontentLength\030\002 \001(\004H\001\210\001\001\022\020\n\007conte" +
"nt\030\350\007 \001(\014B\016\n\014_contentTypeB\020\n\016_contentLen" +
"gth2\350\t\n\013TracDataApi\022M\n\rcreateDataset\022\035.t" +
"racdap.api.DataWriteRequest\032\033.tracdap.me" +
"tadata.TagHeader(\001\022P\n\022createSmallDataset" +
"\022\035.tracdap.api.DataWriteRequest\032\033.tracda" +
"p.metadata.TagHeader\022M\n\rupdateDataset\022\035." +
"tracdap.api.DataWriteRequest\032\033.tracdap.m" +
"etadata.TagHeader(\001\022P\n\022updateSmallDatase" +
"t\022\035.tracdap.api.DataWriteRequest\032\033.tracd" +
"ap.metadata.TagHeader\022L\n\013readDataset\022\034.t" +
"racdap.api.DataReadRequest\032\035.tracdap.api" +
".DataReadResponse0\001\022O\n\020readSmallDataset\022" +
"\034.tracdap.api.DataReadRequest\032\035.tracdap." +
"api.DataReadResponse\022J\n\ncreateFile\022\035.tra" +
"cdap.api.FileWriteRequest\032\033.tracdap.meta" +
"data.TagHeader(\001\022M\n\017createSmallFile\022\035.tr" +
"acdap.api.FileWriteRequest\032\033.tracdap.met" +
"adata.TagHeader\022J\n\nupdateFile\022\035.tracdap." +
"api.FileWriteRequest\032\033.tracdap.metadata." +
"TagHeader(\001\022M\n\017updateSmallFile\022\035.tracdap" +
".api.FileWriteRequest\032\033.tracdap.metadata" +
".TagHeader\022I\n\010readFile\022\034.tracdap.api.Fil" +
"eReadRequest\032\035.tracdap.api.FileReadRespo" +
"nse0\001\022L\n\rreadSmallFile\022\034.tracdap.api.Fil" +
"eReadRequest\032\035.tracdap.api.FileReadRespo" +
"nse\022\224\001\n\014downloadFile\022\034.tracdap.api.Downl" +
"oadRequest\032\035.tracdap.api.DownloadRespons" +
"e\"E\202\323\344\223\002?\0224/{tenant}/FILE/{objectId}/ver" +
"sions/{objectVersion}/*b\007content0\001\022\221\001\n\022d" +
"ownloadLatestFile\022\034.tracdap.api.Download" +
"Request\032\035.tracdap.api.DownloadResponse\"<" +
"\202\323\344\223\0026\022+/{tenant}/FILE/{objectId}/versio" +
"ns/latest/*b\007content0\001B\031\n\025org.finos.trac" +
"dap.apiP\001b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
org.finos.tracdap.metadata.ObjectId.getDescriptor(),
org.finos.tracdap.metadata.Data.getDescriptor(),
org.finos.tracdap.metadata.File.getDescriptor(),
org.finos.tracdap.metadata.TagUpdateOuterClass.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
});
internal_static_tracdap_api_DataWriteRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_tracdap_api_DataWriteRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_DataWriteRequest_descriptor,
new java.lang.String[] { "Tenant", "PriorVersion", "TagUpdates", "SchemaId", "Schema", "Format", "Content", "SchemaSpecifier", });
internal_static_tracdap_api_DataReadRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_tracdap_api_DataReadRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_DataReadRequest_descriptor,
new java.lang.String[] { "Tenant", "Selector", "Format", "Limit", "Offset", });
internal_static_tracdap_api_DataReadResponse_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_tracdap_api_DataReadResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_DataReadResponse_descriptor,
new java.lang.String[] { "Schema", "Content", });
internal_static_tracdap_api_FileWriteRequest_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_tracdap_api_FileWriteRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_FileWriteRequest_descriptor,
new java.lang.String[] { "Tenant", "PriorVersion", "TagUpdates", "Name", "MimeType", "Size", "Content", });
internal_static_tracdap_api_FileReadRequest_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_tracdap_api_FileReadRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_FileReadRequest_descriptor,
new java.lang.String[] { "Tenant", "Selector", });
internal_static_tracdap_api_FileReadResponse_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_tracdap_api_FileReadResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_FileReadResponse_descriptor,
new java.lang.String[] { "FileDefinition", "Content", });
internal_static_tracdap_api_DownloadRequest_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_tracdap_api_DownloadRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_DownloadRequest_descriptor,
new java.lang.String[] { "Tenant", "ObjectType", "ObjectId", "ObjectVersion", });
internal_static_tracdap_api_DownloadResponse_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_tracdap_api_DownloadResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_tracdap_api_DownloadResponse_descriptor,
new java.lang.String[] { "ContentType", "ContentLength", "Content", });
descriptor.resolveAllFeaturesImmutable();
org.finos.tracdap.metadata.ObjectId.getDescriptor();
org.finos.tracdap.metadata.Data.getDescriptor();
org.finos.tracdap.metadata.File.getDescriptor();
org.finos.tracdap.metadata.TagUpdateOuterClass.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.AnnotationsProto.http);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
}
// @@protoc_insertion_point(outer_class_scope)
}