Interface FileReadResponseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
FileReadResponse, FileReadResponse.Builder

public interface FileReadResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    * 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.
    org.finos.tracdap.metadata.FileDefinition
    * Definition of the FILE being read
    org.finos.tracdap.metadata.FileDefinitionOrBuilder
    * Definition of the FILE being read
    boolean
    * Definition of the FILE being read

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasFileDefinition

      boolean hasFileDefinition()
       *
       Definition of the FILE being read
       
      optional .tracdap.metadata.FileDefinition fileDefinition = 1;
      Returns:
      Whether the fileDefinition field is set.
    • getFileDefinition

      org.finos.tracdap.metadata.FileDefinition getFileDefinition()
       *
       Definition of the FILE being read
       
      optional .tracdap.metadata.FileDefinition fileDefinition = 1;
      Returns:
      The fileDefinition.
    • getFileDefinitionOrBuilder

      org.finos.tracdap.metadata.FileDefinitionOrBuilder getFileDefinitionOrBuilder()
       *
       Definition of the FILE being read
       
      optional .tracdap.metadata.FileDefinition fileDefinition = 1;
    • getContent

      com.google.protobuf.ByteString getContent()
       *
       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;
      Returns:
      The content.