org.finos.tracdap.api.FileReadResponseOrBuilder Maven / Gradle / Ivy
// 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 interface FileReadResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:tracdap.api.FileReadResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* *
* Definition of the FILE being read
*
*
* optional .tracdap.metadata.FileDefinition fileDefinition = 1;
* @return Whether the fileDefinition field is set.
*/
boolean hasFileDefinition();
/**
*
* *
* Definition of the FILE being read
*
*
* optional .tracdap.metadata.FileDefinition fileDefinition = 1;
* @return The fileDefinition.
*/
org.finos.tracdap.metadata.FileDefinition getFileDefinition();
/**
*
* *
* Definition of the FILE being read
*
*
* optional .tracdap.metadata.FileDefinition fileDefinition = 1;
*/
org.finos.tracdap.metadata.FileDefinitionOrBuilder getFileDefinitionOrBuilder();
/**
*
* *
* A chunk of the file content
*
* The file content will be sent as a stream of chunks (byte buffers), with one chunk in each message.
* Empty chunks may be included at any point in the response stream and should be ignored.
* In particular, TRAC guarantees that the chunk in the first message will always be an empty chunk.
*
*
* bytes content = 1000;
* @return The content.
*/
com.google.protobuf.ByteString getContent();
}