alluxio.grpc.DeletePOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Shaded Alluxio Client Module for hadoop 3
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/file_system_master.proto
package alluxio.grpc;
/**
* Protobuf type {@code alluxio.grpc.file.DeletePOptions}
*/
public final class DeletePOptions extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.grpc.file.DeletePOptions)
DeletePOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use DeletePOptions.newBuilder() to construct.
private DeletePOptions(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private DeletePOptions() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DeletePOptions();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_DeletePOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_DeletePOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.DeletePOptions.class, alluxio.grpc.DeletePOptions.Builder.class);
}
private int bitField0_;
public static final int RECURSIVE_FIELD_NUMBER = 1;
private boolean recursive_;
/**
* optional bool recursive = 1;
* @return Whether the recursive field is set.
*/
@java.lang.Override
public boolean hasRecursive() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool recursive = 1;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
public static final int ALLUXIOONLY_FIELD_NUMBER = 2;
private boolean alluxioOnly_;
/**
* optional bool alluxioOnly = 2;
* @return Whether the alluxioOnly field is set.
*/
@java.lang.Override
public boolean hasAlluxioOnly() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool alluxioOnly = 2;
* @return The alluxioOnly.
*/
@java.lang.Override
public boolean getAlluxioOnly() {
return alluxioOnly_;
}
public static final int UNCHECKED_FIELD_NUMBER = 3;
private boolean unchecked_;
/**
* optional bool unchecked = 3;
* @return Whether the unchecked field is set.
*/
@java.lang.Override
public boolean hasUnchecked() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool unchecked = 3;
* @return The unchecked.
*/
@java.lang.Override
public boolean getUnchecked() {
return unchecked_;
}
public static final int COMMONOPTIONS_FIELD_NUMBER = 4;
private alluxio.grpc.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions_;
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
* @return Whether the alluxio.shaded.client.com.onOptions field is set.
*/
@java.lang.Override
public boolean hasCommonOptions() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
* @return The alluxio.shaded.client.com.onOptions.
*/
@java.lang.Override
public alluxio.grpc.FileSystemMasterCommonPOptions getCommonOptions() {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
@java.lang.Override
public alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder getCommonOptionsOrBuilder() {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
public static final int SYNCPARENTNEXTTIME_FIELD_NUMBER = 5;
private boolean syncParentNextTime_;
/**
* optional bool syncParentNextTime = 5;
* @return Whether the syncParentNextTime field is set.
*/
@java.lang.Override
public boolean hasSyncParentNextTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool syncParentNextTime = 5;
* @return The syncParentNextTime.
*/
@java.lang.Override
public boolean getSyncParentNextTime() {
return syncParentNextTime_;
}
public static final int DELETEMOUNTPOINT_FIELD_NUMBER = 6;
private boolean deleteMountPoint_;
/**
* optional bool deleteMountPoint = 6;
* @return Whether the deleteMountPoint field is set.
*/
@java.lang.Override
public boolean hasDeleteMountPoint() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional bool deleteMountPoint = 6;
* @return The deleteMountPoint.
*/
@java.lang.Override
public boolean getDeleteMountPoint() {
return deleteMountPoint_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(1, recursive_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(2, alluxioOnly_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeBool(3, unchecked_);
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(4, getCommonOptions());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeBool(5, syncParentNextTime_);
}
if (((bitField0_ & 0x00000020) != 0)) {
output.writeBool(6, deleteMountPoint_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(1, recursive_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(2, alluxioOnly_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(3, unchecked_);
}
if (((bitField0_ & 0x00000008) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(4, getCommonOptions());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(5, syncParentNextTime_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteBoolSize(6, deleteMountPoint_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.grpc.DeletePOptions)) {
return super.equals(obj);
}
alluxio.grpc.DeletePOptions other = (alluxio.grpc.DeletePOptions) obj;
if (hasRecursive() != other.hasRecursive()) return false;
if (hasRecursive()) {
if (getRecursive()
!= other.getRecursive()) return false;
}
if (hasAlluxioOnly() != other.hasAlluxioOnly()) return false;
if (hasAlluxioOnly()) {
if (getAlluxioOnly()
!= other.getAlluxioOnly()) return false;
}
if (hasUnchecked() != other.hasUnchecked()) return false;
if (hasUnchecked()) {
if (getUnchecked()
!= other.getUnchecked()) return false;
}
if (hasCommonOptions() != other.hasCommonOptions()) return false;
if (hasCommonOptions()) {
if (!getCommonOptions()
.equals(other.getCommonOptions())) return false;
}
if (hasSyncParentNextTime() != other.hasSyncParentNextTime()) return false;
if (hasSyncParentNextTime()) {
if (getSyncParentNextTime()
!= other.getSyncParentNextTime()) return false;
}
if (hasDeleteMountPoint() != other.hasDeleteMountPoint()) return false;
if (hasDeleteMountPoint()) {
if (getDeleteMountPoint()
!= other.getDeleteMountPoint()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasRecursive()) {
hash = (37 * hash) + RECURSIVE_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getRecursive());
}
if (hasAlluxioOnly()) {
hash = (37 * hash) + ALLUXIOONLY_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getAlluxioOnly());
}
if (hasUnchecked()) {
hash = (37 * hash) + UNCHECKED_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getUnchecked());
}
if (hasCommonOptions()) {
hash = (37 * hash) + COMMONOPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getCommonOptions().hashCode();
}
if (hasSyncParentNextTime()) {
hash = (37 * hash) + SYNCPARENTNEXTTIME_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getSyncParentNextTime());
}
if (hasDeleteMountPoint()) {
hash = (37 * hash) + DELETEMOUNTPOINT_FIELD_NUMBER;
hash = (53 * hash) + alluxio.shaded.client.com.google.protobuf.Internal.hashBoolean(
getDeleteMountPoint());
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.grpc.DeletePOptions parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.DeletePOptions parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.DeletePOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.DeletePOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.DeletePOptions parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.DeletePOptions parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.DeletePOptions parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.grpc.DeletePOptions parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.grpc.DeletePOptions parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.grpc.DeletePOptions parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.grpc.DeletePOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.grpc.DeletePOptions parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.grpc.DeletePOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code alluxio.grpc.file.DeletePOptions}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.grpc.file.DeletePOptions)
alluxio.grpc.DeletePOptionsOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_DeletePOptions_descriptor;
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_DeletePOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.DeletePOptions.class, alluxio.grpc.DeletePOptions.Builder.class);
}
// Construct using alluxio.grpc.DeletePOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getCommonOptionsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
recursive_ = false;
bitField0_ = (bitField0_ & ~0x00000001);
alluxioOnly_ = false;
bitField0_ = (bitField0_ & ~0x00000002);
unchecked_ = false;
bitField0_ = (bitField0_ & ~0x00000004);
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptions_ = null;
} else {
alluxio.shaded.client.com.onOptionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
syncParentNextTime_ = false;
bitField0_ = (bitField0_ & ~0x00000010);
deleteMountPoint_ = false;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.grpc.FileSystemMasterProto.internal_static_alluxio_grpc_file_DeletePOptions_descriptor;
}
@java.lang.Override
public alluxio.grpc.DeletePOptions getDefaultInstanceForType() {
return alluxio.grpc.DeletePOptions.getDefaultInstance();
}
@java.lang.Override
public alluxio.grpc.DeletePOptions build() {
alluxio.grpc.DeletePOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.grpc.DeletePOptions buildPartial() {
alluxio.grpc.DeletePOptions result = new alluxio.grpc.DeletePOptions(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recursive_ = recursive_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.alluxioOnly_ = alluxioOnly_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.unchecked_ = unchecked_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
result.alluxio.shaded.client.com.onOptions_ = alluxio.shaded.client.com.onOptions_;
} else {
result.alluxio.shaded.client.com.onOptions_ = alluxio.shaded.client.com.onOptionsBuilder_.build();
}
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.syncParentNextTime_ = syncParentNextTime_;
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.deleteMountPoint_ = deleteMountPoint_;
to_bitField0_ |= 0x00000020;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.grpc.DeletePOptions) {
return mergeFrom((alluxio.grpc.DeletePOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.grpc.DeletePOptions other) {
if (other == alluxio.grpc.DeletePOptions.getDefaultInstance()) return this;
if (other.hasRecursive()) {
setRecursive(other.getRecursive());
}
if (other.hasAlluxioOnly()) {
setAlluxioOnly(other.getAlluxioOnly());
}
if (other.hasUnchecked()) {
setUnchecked(other.getUnchecked());
}
if (other.hasCommonOptions()) {
mergeCommonOptions(other.getCommonOptions());
}
if (other.hasSyncParentNextTime()) {
setSyncParentNextTime(other.getSyncParentNextTime());
}
if (other.hasDeleteMountPoint()) {
setDeleteMountPoint(other.getDeleteMountPoint());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
recursive_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
alluxioOnly_ = input.readBool();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
unchecked_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
input.readMessage(
getCommonOptionsFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 34
case 40: {
syncParentNextTime_ = input.readBool();
bitField0_ |= 0x00000010;
break;
} // case 40
case 48: {
deleteMountPoint_ = input.readBool();
bitField0_ |= 0x00000020;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean recursive_ ;
/**
* optional bool recursive = 1;
* @return Whether the recursive field is set.
*/
@java.lang.Override
public boolean hasRecursive() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional bool recursive = 1;
* @return The recursive.
*/
@java.lang.Override
public boolean getRecursive() {
return recursive_;
}
/**
* optional bool recursive = 1;
* @param value The recursive to set.
* @return This builder for chaining.
*/
public Builder setRecursive(boolean value) {
bitField0_ |= 0x00000001;
recursive_ = value;
onChanged();
return this;
}
/**
* optional bool recursive = 1;
* @return This builder for chaining.
*/
public Builder clearRecursive() {
bitField0_ = (bitField0_ & ~0x00000001);
recursive_ = false;
onChanged();
return this;
}
private boolean alluxioOnly_ ;
/**
* optional bool alluxioOnly = 2;
* @return Whether the alluxioOnly field is set.
*/
@java.lang.Override
public boolean hasAlluxioOnly() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional bool alluxioOnly = 2;
* @return The alluxioOnly.
*/
@java.lang.Override
public boolean getAlluxioOnly() {
return alluxioOnly_;
}
/**
* optional bool alluxioOnly = 2;
* @param value The alluxioOnly to set.
* @return This builder for chaining.
*/
public Builder setAlluxioOnly(boolean value) {
bitField0_ |= 0x00000002;
alluxioOnly_ = value;
onChanged();
return this;
}
/**
* optional bool alluxioOnly = 2;
* @return This builder for chaining.
*/
public Builder clearAlluxioOnly() {
bitField0_ = (bitField0_ & ~0x00000002);
alluxioOnly_ = false;
onChanged();
return this;
}
private boolean unchecked_ ;
/**
* optional bool unchecked = 3;
* @return Whether the unchecked field is set.
*/
@java.lang.Override
public boolean hasUnchecked() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional bool unchecked = 3;
* @return The unchecked.
*/
@java.lang.Override
public boolean getUnchecked() {
return unchecked_;
}
/**
* optional bool unchecked = 3;
* @param value The unchecked to set.
* @return This builder for chaining.
*/
public Builder setUnchecked(boolean value) {
bitField0_ |= 0x00000004;
unchecked_ = value;
onChanged();
return this;
}
/**
* optional bool unchecked = 3;
* @return This builder for chaining.
*/
public Builder clearUnchecked() {
bitField0_ = (bitField0_ & ~0x00000004);
unchecked_ = false;
onChanged();
return this;
}
private alluxio.grpc.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions_;
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.FileSystemMasterCommonPOptions, alluxio.grpc.FileSystemMasterCommonPOptions.Builder, alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder> alluxio.shaded.client.com.onOptionsBuilder_;
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
* @return Whether the alluxio.shaded.client.com.onOptions field is set.
*/
public boolean hasCommonOptions() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
* @return The alluxio.shaded.client.com.onOptions.
*/
public alluxio.grpc.FileSystemMasterCommonPOptions getCommonOptions() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
return alluxio.shaded.client.com.onOptions_ == null ? alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
} else {
return alluxio.shaded.client.com.onOptionsBuilder_.getMessage();
}
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
public Builder setCommonOptions(alluxio.grpc.FileSystemMasterCommonPOptions value) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
alluxio.shaded.client.com.onOptions_ = value;
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
public Builder setCommonOptions(
alluxio.grpc.FileSystemMasterCommonPOptions.Builder builderForValue) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptions_ = builderForValue.build();
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
public Builder mergeCommonOptions(alluxio.grpc.FileSystemMasterCommonPOptions value) {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
alluxio.shaded.client.com.onOptions_ != null &&
alluxio.shaded.client.com.onOptions_ != alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance()) {
alluxio.shaded.client.com.onOptions_ =
alluxio.grpc.FileSystemMasterCommonPOptions.newBuilder(alluxio.shaded.client.com.onOptions_).mergeFrom(value).buildPartial();
} else {
alluxio.shaded.client.com.onOptions_ = value;
}
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
public Builder clearCommonOptions() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptions_ = null;
onChanged();
} else {
alluxio.shaded.client.com.onOptionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
public alluxio.grpc.FileSystemMasterCommonPOptions.Builder getCommonOptionsBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getCommonOptionsFieldBuilder().getBuilder();
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
public alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder getCommonOptionsOrBuilder() {
if (alluxio.shaded.client.com.onOptionsBuilder_ != null) {
return alluxio.shaded.client.com.onOptionsBuilder_.getMessageOrBuilder();
} else {
return alluxio.shaded.client.com.onOptions_ == null ?
alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance() : alluxio.shaded.client.com.onOptions_;
}
}
/**
* optional .alluxio.grpc.file.FileSystemMasterCommonPOptions alluxio.shaded.client.com.onOptions = 4;
*/
private alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.FileSystemMasterCommonPOptions, alluxio.grpc.FileSystemMasterCommonPOptions.Builder, alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder>
getCommonOptionsFieldBuilder() {
if (alluxio.shaded.client.com.onOptionsBuilder_ == null) {
alluxio.shaded.client.com.onOptionsBuilder_ = new alluxio.shaded.client.com.google.protobuf.SingleFieldBuilderV3<
alluxio.grpc.FileSystemMasterCommonPOptions, alluxio.grpc.FileSystemMasterCommonPOptions.Builder, alluxio.grpc.FileSystemMasterCommonPOptionsOrBuilder>(
getCommonOptions(),
getParentForChildren(),
isClean());
alluxio.shaded.client.com.onOptions_ = null;
}
return alluxio.shaded.client.com.onOptionsBuilder_;
}
private boolean syncParentNextTime_ ;
/**
* optional bool syncParentNextTime = 5;
* @return Whether the syncParentNextTime field is set.
*/
@java.lang.Override
public boolean hasSyncParentNextTime() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional bool syncParentNextTime = 5;
* @return The syncParentNextTime.
*/
@java.lang.Override
public boolean getSyncParentNextTime() {
return syncParentNextTime_;
}
/**
* optional bool syncParentNextTime = 5;
* @param value The syncParentNextTime to set.
* @return This builder for chaining.
*/
public Builder setSyncParentNextTime(boolean value) {
bitField0_ |= 0x00000010;
syncParentNextTime_ = value;
onChanged();
return this;
}
/**
* optional bool syncParentNextTime = 5;
* @return This builder for chaining.
*/
public Builder clearSyncParentNextTime() {
bitField0_ = (bitField0_ & ~0x00000010);
syncParentNextTime_ = false;
onChanged();
return this;
}
private boolean deleteMountPoint_ ;
/**
* optional bool deleteMountPoint = 6;
* @return Whether the deleteMountPoint field is set.
*/
@java.lang.Override
public boolean hasDeleteMountPoint() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional bool deleteMountPoint = 6;
* @return The deleteMountPoint.
*/
@java.lang.Override
public boolean getDeleteMountPoint() {
return deleteMountPoint_;
}
/**
* optional bool deleteMountPoint = 6;
* @param value The deleteMountPoint to set.
* @return This builder for chaining.
*/
public Builder setDeleteMountPoint(boolean value) {
bitField0_ |= 0x00000020;
deleteMountPoint_ = value;
onChanged();
return this;
}
/**
* optional bool deleteMountPoint = 6;
* @return This builder for chaining.
*/
public Builder clearDeleteMountPoint() {
bitField0_ = (bitField0_ & ~0x00000020);
deleteMountPoint_ = false;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.grpc.file.DeletePOptions)
}
// @@protoc_insertion_point(class_scope:alluxio.grpc.file.DeletePOptions)
private static final alluxio.grpc.DeletePOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.grpc.DeletePOptions();
}
public static alluxio.grpc.DeletePOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public DeletePOptions parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.grpc.DeletePOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}