public static final class UfsReadOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder> implements UfsReadOptionsOrBuilder
alluxio.grpc.block.UfsReadOptions
Modifier and Type | Method and Description |
---|---|
UfsReadOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UfsReadOptions |
build() |
UfsReadOptions |
buildPartial() |
UfsReadOptions.Builder |
clear() |
UfsReadOptions.Builder |
clearBandwidth()
optional int64 bandwidth = 3; |
UfsReadOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UfsReadOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UfsReadOptions.Builder |
clearPositionShort()
is position short or not, used for HDFS performance optimization.
|
UfsReadOptions.Builder |
clearTag()
required string tag = 1; |
UfsReadOptions.Builder |
clearUser()
optional string user = 4; |
UfsReadOptions.Builder |
clone() |
long |
getBandwidth()
optional int64 bandwidth = 3; |
UfsReadOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getPositionShort()
is position short or not, used for HDFS performance optimization.
|
String |
getTag()
required string tag = 1; |
com.google.protobuf.ByteString |
getTagBytes()
required string tag = 1; |
String |
getUser()
optional string user = 4; |
com.google.protobuf.ByteString |
getUserBytes()
optional string user = 4; |
boolean |
hasBandwidth()
optional int64 bandwidth = 3; |
boolean |
hasPositionShort()
is position short or not, used for HDFS performance optimization.
|
boolean |
hasTag()
required string tag = 1; |
boolean |
hasUser()
optional string user = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UfsReadOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UfsReadOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
UfsReadOptions.Builder |
mergeFrom(UfsReadOptions other) |
UfsReadOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UfsReadOptions.Builder |
setBandwidth(long value)
optional int64 bandwidth = 3; |
UfsReadOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UfsReadOptions.Builder |
setPositionShort(boolean value)
is position short or not, used for HDFS performance optimization.
|
UfsReadOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UfsReadOptions.Builder |
setTag(String value)
required string tag = 1; |
UfsReadOptions.Builder |
setTagBytes(com.google.protobuf.ByteString value)
required string tag = 1; |
UfsReadOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UfsReadOptions.Builder |
setUser(String value)
optional string user = 4; |
UfsReadOptions.Builder |
setUserBytes(com.google.protobuf.ByteString value)
optional string user = 4; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public UfsReadOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public UfsReadOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public UfsReadOptions.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder mergeFrom(UfsReadOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public UfsReadOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<UfsReadOptions.Builder>
IOException
public boolean hasTag()
required string tag = 1;
hasTag
in interface UfsReadOptionsOrBuilder
public String getTag()
required string tag = 1;
getTag
in interface UfsReadOptionsOrBuilder
public com.google.protobuf.ByteString getTagBytes()
required string tag = 1;
getTagBytes
in interface UfsReadOptionsOrBuilder
public UfsReadOptions.Builder setTag(String value)
required string tag = 1;
value
- The tag to set.public UfsReadOptions.Builder clearTag()
required string tag = 1;
public UfsReadOptions.Builder setTagBytes(com.google.protobuf.ByteString value)
required string tag = 1;
value
- The bytes for tag to set.public 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;
hasPositionShort
in interface UfsReadOptionsOrBuilder
public boolean getPositionShort()
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;
getPositionShort
in interface UfsReadOptionsOrBuilder
public UfsReadOptions.Builder setPositionShort(boolean value)
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;
value
- The positionShort to set.public UfsReadOptions.Builder clearPositionShort()
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;
public boolean hasBandwidth()
optional int64 bandwidth = 3;
hasBandwidth
in interface UfsReadOptionsOrBuilder
public long getBandwidth()
optional int64 bandwidth = 3;
getBandwidth
in interface UfsReadOptionsOrBuilder
public UfsReadOptions.Builder setBandwidth(long value)
optional int64 bandwidth = 3;
value
- The bandwidth to set.public UfsReadOptions.Builder clearBandwidth()
optional int64 bandwidth = 3;
public boolean hasUser()
optional string user = 4;
hasUser
in interface UfsReadOptionsOrBuilder
public String getUser()
optional string user = 4;
getUser
in interface UfsReadOptionsOrBuilder
public com.google.protobuf.ByteString getUserBytes()
optional string user = 4;
getUserBytes
in interface UfsReadOptionsOrBuilder
public UfsReadOptions.Builder setUser(String value)
optional string user = 4;
value
- The user to set.public UfsReadOptions.Builder clearUser()
optional string user = 4;
public UfsReadOptions.Builder setUserBytes(com.google.protobuf.ByteString value)
optional string user = 4;
value
- The bytes for user to set.public final UfsReadOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
public final UfsReadOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<UfsReadOptions.Builder>
Copyright © 2023. All Rights Reserved.