alluxio.grpc.UfsReadOptionsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/block_worker.proto
package alluxio.grpc;
public interface UfsReadOptionsOrBuilder extends
// @@protoc_insertion_point(interface_extends:alluxio.grpc.block.UfsReadOptions)
alluxio.shaded.client.com.google.protobuf.MessageOrBuilder {
/**
* required string tag = 1;
* @return Whether the tag field is set.
*/
boolean hasTag();
/**
* required string tag = 1;
* @return The tag.
*/
java.lang.String getTag();
/**
* required string tag = 1;
* @return The bytes for tag.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getTagBytes();
/**
*
* is position short or not, used for HDFS performance optimization.
* When the client buffer size is large ( > 2MB) and reads are guaranteed to be somewhat
* sequential, the `pread` API to HDFS is not as efficient as simple `read`.
* We introduce a heuristic to choose which API to use.
*
*
* required bool position_short = 2;
* @return Whether the positionShort field is set.
*/
boolean hasPositionShort();
/**
*
* is position short or not, used for HDFS performance optimization.
* When the client buffer size is large ( > 2MB) and reads are guaranteed to be somewhat
* sequential, the `pread` API to HDFS is not as efficient as simple `read`.
* We introduce a heuristic to choose which API to use.
*
*
* required bool position_short = 2;
* @return The positionShort.
*/
boolean getPositionShort();
/**
* optional int64 bandwidth = 3;
* @return Whether the bandwidth field is set.
*/
boolean hasBandwidth();
/**
* optional int64 bandwidth = 3;
* @return The bandwidth.
*/
long getBandwidth();
/**
* optional string user = 4;
* @return Whether the user field is set.
*/
boolean hasUser();
/**
* optional string user = 4;
* @return The user.
*/
java.lang.String getUser();
/**
* optional string user = 4;
* @return The bytes for user.
*/
alluxio.shaded.client.com.google.protobuf.ByteString
getUserBytes();
}