public static final class WriteOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WriteOptions.Builder> implements WriteOptionsOrBuilder
alluxio.grpc.block.WriteOptions
Modifier and Type | Method and Description |
---|---|
WriteOptions.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteOptions |
build() |
WriteOptions |
buildPartial() |
WriteOptions.Builder |
clear() |
WriteOptions.Builder |
clearCheckContent()
optional bool check_content = 3; |
WriteOptions.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
WriteOptions.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
WriteOptions.Builder |
clearOverwrite()
optional bool overwrite = 1; |
WriteOptions.Builder |
clearWriteType()
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH]; |
WriteOptions.Builder |
clone() |
boolean |
getCheckContent()
optional bool check_content = 3; |
WriteOptions |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getOverwrite()
optional bool overwrite = 1; |
WritePType |
getWriteType()
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH]; |
boolean |
hasCheckContent()
optional bool check_content = 3; |
boolean |
hasOverwrite()
optional bool overwrite = 1; |
boolean |
hasWriteType()
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
WriteOptions.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
WriteOptions.Builder |
mergeFrom(com.google.protobuf.Message other) |
WriteOptions.Builder |
mergeFrom(WriteOptions other) |
WriteOptions.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteOptions.Builder |
setCheckContent(boolean value)
optional bool check_content = 3; |
WriteOptions.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
WriteOptions.Builder |
setOverwrite(boolean value)
optional bool overwrite = 1; |
WriteOptions.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
WriteOptions.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
WriteOptions.Builder |
setWriteType(WritePType value)
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH]; |
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<WriteOptions.Builder>
public WriteOptions.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<WriteOptions.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<WriteOptions.Builder>
public WriteOptions getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public WriteOptions build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public WriteOptions buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public WriteOptions.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<WriteOptions.Builder>
public WriteOptions.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<WriteOptions.Builder>
public WriteOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteOptions.Builder>
public WriteOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteOptions.Builder>
public WriteOptions.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<WriteOptions.Builder>
public WriteOptions.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<WriteOptions.Builder>
public WriteOptions.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<WriteOptions.Builder>
public WriteOptions.Builder mergeFrom(WriteOptions other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteOptions.Builder>
public WriteOptions.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<WriteOptions.Builder>
IOException
public boolean hasOverwrite()
optional bool overwrite = 1;
hasOverwrite
in interface WriteOptionsOrBuilder
public boolean getOverwrite()
optional bool overwrite = 1;
getOverwrite
in interface WriteOptionsOrBuilder
public WriteOptions.Builder setOverwrite(boolean value)
optional bool overwrite = 1;
value
- The overwrite to set.public WriteOptions.Builder clearOverwrite()
optional bool overwrite = 1;
public boolean hasWriteType()
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH];
hasWriteType
in interface WriteOptionsOrBuilder
public WritePType getWriteType()
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH];
getWriteType
in interface WriteOptionsOrBuilder
public WriteOptions.Builder setWriteType(WritePType value)
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH];
value
- The writeType to set.public WriteOptions.Builder clearWriteType()
optional .alluxio.grpc.file.WritePType write_type = 2 [default = CACHE_THROUGH];
public boolean hasCheckContent()
optional bool check_content = 3;
hasCheckContent
in interface WriteOptionsOrBuilder
public boolean getCheckContent()
optional bool check_content = 3;
getCheckContent
in interface WriteOptionsOrBuilder
public WriteOptions.Builder setCheckContent(boolean value)
optional bool check_content = 3;
value
- The checkContent to set.public WriteOptions.Builder clearCheckContent()
optional bool check_content = 3;
public final WriteOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteOptions.Builder>
public final WriteOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<WriteOptions.Builder>
Copyright © 2023. All Rights Reserved.