All Downloads are FREE. Search and download functionalities are using the official Maven repository.

thredds.filesystem.FileSystem.proto Maven / Gradle / Ivy

Go to download

The NetCDF-Java Library is a Java interface to NetCDF files, as well as to many other types of scientific data formats.

The newest version!
package filesystem;

option java_package = "thredds.filesystem";
option java_outer_classname = "FileSystemProto";

message Directory {
  required string path = 1;
  optional uint64 lastModified = 2;
  repeated File files = 3;
  repeated Attribute atts = 5;
}

message File {
  required string name = 1;
  optional uint64 lastModified = 2;
  optional uint64 length = 3;
  required bool isDirectory = 4;
  repeated Attribute atts = 5;
}

message Attribute {
  required string name = 1;
  enum Type {
    STRING = 0;
    BYTE = 1;
    SHORT = 2;
    INT = 3;
    LONG = 4;
    FLOAT = 5;
    DOUBLE = 6;
  }
  required Type type = 2;
  required uint32 len = 3;
  required bytes data = 4;
}

// cd c:/dev/tds4.2n/cdm/src/main/java
// protoc --proto_path=. --java_out=. thredds/filesystem/FileSystem.proto




© 2015 - 2024 Weber Informatics LLC | Privacy Policy