/** * <code>optional .alluxio.grpc.file.FileSystemMasterCommonPOptions commonOptions = 2;</code> */ public Builder setCommonOptions(alluxio.grpc.FileSystemMasterCommonPOptions value) { if (commonOptionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commonOptions_ = value; onChanged(); } else { commonOptionsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .alluxio.grpc.file.FileSystemMasterCommonPOptions commonOptions = 2;</code> */ public alluxio.grpc.FileSystemMasterCommonPOptions.Builder getCommonOptionsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getCommonOptionsFieldBuilder().getBuilder(); } /**
/** * <code>optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;</code> */ public Builder setLoadMetadataType(alluxio.grpc.LoadMetadataPType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; loadMetadataType_ = value.getNumber(); onChanged(); return this; } /**
/** * <code>optional .alluxio.grpc.file.FileSystemMasterCommonPOptions commonOptions = 2;</code> */ public Builder mergeCommonOptions(alluxio.grpc.FileSystemMasterCommonPOptions value) { if (commonOptionsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && commonOptions_ != null && commonOptions_ != alluxio.grpc.FileSystemMasterCommonPOptions.getDefaultInstance()) { commonOptions_ = alluxio.grpc.FileSystemMasterCommonPOptions.newBuilder(commonOptions_).mergeFrom(value).buildPartial(); } else { commonOptions_ = value; } onChanged(); } else { commonOptionsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .alluxio.grpc.file.FileSystemMasterCommonPOptions commonOptions = 2;</code> */ public Builder setCommonOptions( alluxio.grpc.FileSystemMasterCommonPOptions.Builder builderForValue) { if (commonOptionsBuilder_ == null) { commonOptions_ = builderForValue.build(); onChanged(); } else { commonOptionsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .alluxio.grpc.file.FileSystemMasterCommonPOptions commonOptions = 2;</code> */ public Builder clearCommonOptions() { if (commonOptionsBuilder_ == null) { commonOptions_ = null; onChanged(); } else { commonOptionsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /**
/** * <code>optional .alluxio.grpc.file.LoadMetadataPType loadMetadataType = 1;</code> */ public Builder clearLoadMetadataType() { bitField0_ = (bitField0_ & ~0x00000001); loadMetadataType_ = 0; onChanged(); return this; }
public Builder mergeFrom(alluxio.grpc.GetStatusPOptions other) { if (other == alluxio.grpc.GetStatusPOptions.getDefaultInstance()) return this; if (other.hasLoadMetadataType()) { setLoadMetadataType(other.getLoadMetadataType()); } if (other.hasCommonOptions()) { mergeCommonOptions(other.getCommonOptions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }