Package org.finos.tracdap.api
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.ByteStringgetContent()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.FileDefinitiongetFileDefinition()Definition of the FILE being readorg.finos.tracdap.metadata.FileDefinitionOrBuildergetFileDefinitionOrBuilder()Definition of the FILE being readbooleanhasFileDefinition()Definition of the FILE being read-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-