/** * <code>optional .alluxio.grpc.file.FileInfo fileInfo = 1;</code> */ public Builder setFileInfo(alluxio.grpc.FileInfo value) { if (fileInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); } fileInfo_ = value; onChanged(); } else { fileInfoBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .alluxio.grpc.file.FileInfo fileInfo = 1;</code> */ public alluxio.grpc.FileInfo.Builder getFileInfoBuilder() { bitField0_ |= 0x00000001; onChanged(); return getFileInfoFieldBuilder().getBuilder(); } /**
/** * <code>optional .alluxio.grpc.file.FileInfo fileInfo = 1;</code> */ public Builder setFileInfo( alluxio.grpc.FileInfo.Builder builderForValue) { if (fileInfoBuilder_ == null) { fileInfo_ = builderForValue.build(); onChanged(); } else { fileInfoBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .alluxio.grpc.file.FileInfo fileInfo = 1;</code> */ public Builder mergeFileInfo(alluxio.grpc.FileInfo value) { if (fileInfoBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && fileInfo_ != null && fileInfo_ != alluxio.grpc.FileInfo.getDefaultInstance()) { fileInfo_ = alluxio.grpc.FileInfo.newBuilder(fileInfo_).mergeFrom(value).buildPartial(); } else { fileInfo_ = value; } onChanged(); } else { fileInfoBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .alluxio.grpc.file.FileInfo fileInfo = 1;</code> */ public Builder clearFileInfo() { if (fileInfoBuilder_ == null) { fileInfo_ = null; onChanged(); } else { fileInfoBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /**
public Builder mergeFrom(alluxio.grpc.GetFileInfoPResponse other) { if (other == alluxio.grpc.GetFileInfoPResponse.getDefaultInstance()) return this; if (other.hasFileInfo()) { mergeFileInfo(other.getFileInfo()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }